묻고답하기
게시판 본문에 HTML 특정 부분이전이 잘려서 View가 됩니다.
2017.04.24 21:50
예를들어
<div class="colorscripter-code" style="color:#010101; font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace !important; position:relative !important; overflow:auto"><table class="colorscripter-code-table" style="margin:0; padding:0; border:none; background-color:#fafafa; border-radius:4px;" cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:6px; border-right:2px solid #e5e5e5"><div style="margin: 0px; padding: 0px; word-break: normal; text-align: right; color: rgb(102, 102, 102); line-height: 160%;"><div style="line-height:160%">1</div><div style="line-height:160%">2</div><div style="line-height:160%">3</div><div style="line-height:160%">4</div><div style="line-height:160%">5</div><div style="line-height:160%">6</div><div style="line-height:160%">7</div><div style="line-height:160%">8</div><div style="line-height:160%">9</div></div></td><td style="padding:6px 0"><div style="margin: 0px; padding: 0px; line-height: 160%;"><div style="padding:0 6px; white-space:pre; line-height:160%">{@</div><div style="padding:0 6px; white-space:pre; line-height:160%"> $oDocumentModel = &getModel('document');</div><div style="padding:0 6px; white-space:pre; line-height:160%"> $oDocument = $oDocumentModel->getDocument($item->get('document_srl'));</div><div style="padding:0 6px; white-space:pre; line-height:160%"> $category_info = $oDocumentModel->getCategory($oDocument->get('category_srl'));</div><div style="padding:0 6px; white-space:pre; line-height:160%">} </div><div style="padding:0 6px; white-space:pre; line-height:160%"><span style="color:#999999"><!--@if($widget_info->show_category=='Y' && $item->get('category_srl') )--></span></div><div style="padding:0 6px; white-space:pre; line-height:160%"> <<span style="color:#ff3399">a</span> <span style="color:#0099cc">style</span>=<span style="color:#52be14">"color:{$category_info->color};"</span><span style="color:#0099cc"></span> <span style="color:#0099cc">href</span>=<span style="color:#52be14">"{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}"</span><span style="color:#0099cc"></span> <span style="color:#0099cc"></span></div><div style="padding:0 6px; white-space:pre; line-height:160%"><span style="color:#0099cc"></span> <span style="color:#0099cc">target</span>=<span style="color:#52be14">"_blank"</span><span style="color:#0099cc">|cond</span>=<span style="color:#52be14">"$widget_info->new_window"</span><span style="color:#0099cc"></span>><<span style="color:#ff3399">strong</span> <span style="color:#0099cc">class</span>=<span style="color:#52be14">"category"</span><span style="color:#0099cc"></span>>{$item->getCategory()}</<span style="color:#ff3399">strong</span>></<span style="color:#ff3399">a</span>></div><div style="padding:0 6px; white-space:pre; line-height:160%"><span style="color:#999999"><!--@end--></span></div></div><div style="text-align:right; margin-top:-13px; margin-right:5px; font-size:9px; font-style:italic"><a href="http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5; text-decoration:none">Colored by Color Scripter</a></div></td><td style="vertical-align:bottom; padding:0 2px 4px 0"><a href="http://colorscripter.com/info#e" target="_blank" style="text-decoration:none; color:white"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(229, 229, 229);">cs</span></a></td></tr></tbody></table></div>
이 소스를 넣어서
글쓰기를 하면
<div class="colorscripter-code" style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=010101">#010101; font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace !important; position:relative !important; overflow:auto">#fafafa; border-radius:4px;" cellspacing="0" cellpadding="0"><table class="colorscripter-code-table" style="margin:0; padding:0; border:none; background-color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=fafafa"><tbody><tr><td style="padding:6px; border-right:2px solid <a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=e5e5e5">#e5e5e5"><div style="margin: 0px; padding: 0px; word-break: normal; text-align: right; color: rgb(102, 102, 102); line-height: 160%;"><div style="line-height:160%">1</div><div style="line-height:160%">2</div><div style="line-height:160%">3</div><div style="line-height:160%">4</div><div style="line-height:160%">5</div><div style="line-height:160%">6</div><div style="line-height:160%">7</div><div style="line-height:160%">8</div><div style="line-height:160%">9</div></div></td><td style="padding:6px 0"><div style="margin: 0px; padding: 0px; line-height: 160%;"><div style="padding:0 6px; white-space:pre; line-height:160%">{@</div><div style="padding:0 6px; white-space:pre; line-height:160%"> $oDocumentModel = &getModel('document');</div><div style="padding:0 6px; white-space:pre; line-height:160%"> $oDocument = $oDocumentModel->getDocument($item->get('document_srl'));</div><div style="padding:0 6px; white-space:pre; line-height:160%"> $category_info = $oDocumentModel->getCategory($oDocument->get('category_srl'));</div><div style="padding:0 6px; white-space:pre; line-height:160%">} </div><div style="padding:0 6px; white-space:pre; line-height:160%"><span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=999999">#999999"><!--@if($widget_info->show_category=='Y' && $item->get('category_srl') )--></span></div><div style="padding:0 6px; white-space:pre; line-height:160%"> <<span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=ff3399">#ff3399">a</span> <span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=0099cc">#0099cc">style</span>=<span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=52be14">#52be14">"color:{$category_info->color};"</span><span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=0099cc">#0099cc"></span> <span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=0099cc">#0099cc">href</span>=<span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=52be14">#52be14">"{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}"</span><span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=0099cc">#0099cc"></span> <span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=0099cc">#0099cc"></span></div><div style="padding:0 6px; white-space:pre; line-height:160%"><span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=0099cc">#0099cc"></span> <span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=0099cc">#0099cc">target</span>=<span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=52be14">#52be14">"_blank"</span><span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=0099cc">#0099cc">|cond</span>=<span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=52be14">#52be14">"$widget_info->new_window"</span><span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=0099cc">#0099cc"></span>><<span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=ff3399">#ff3399">strong</span> <span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=0099cc">#0099cc">class</span>=<span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=52be14">#52be14">"category"</span><span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=0099cc">#0099cc"></span>>{$item->getCategory()}</<span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=ff3399">#ff3399">strong</span>></<span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=ff3399">#ff3399">a</span>></div><div style="padding:0 6px; white-space:pre; line-height:160%"><span style="color:<a class=" luatag"="" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=999999">#999999"><!--@end--></span></div></div><div style="text-align:right; margin-top:-13px; margin-right:5px; font-size:9px; font-style:italic"><a href="http://colorscripter.com/info<a class=" luatag"="">#e</a>" target="_blank" style="color:<a class="luatag" href="http://owner-king.xyz/?mid=tip&search_target=hashtag&search_keyword=e5e5e5">#e5e5e5</a>; text-decoration:none">Colored by Color Scripter</div></td><td style="vertical-align:bottom; padding:0 2px 4px 0"><a href="http://colorscripter.com/info<a class=" luatag"="">#e</a>" target="_blank" style="text-decoration:none; color:white"><span style="font-size: 9px; word-break: normal; border-radius: 10px; padding: 1px; background-color: rgb(229, 229, 229);">cs</span></td></tr></tbody></table></div>
이렇게 변하고
#010101; font-family:Consolas, 'Liberation Mono', Menlo, Courier, monospace !important; position:relative !important; overflow:auto">#fafafa; border-radius:4px;" cellspacing="0" cellpadding="0">
이부분이 그대로 본문에 출력이 됩니다. 마치 텍스트화 된거처럼
어떻게 오류를 잡아야할까요?
에디터, 게시판 스킨 다른걸로 교체해봐도 똑같네요..
- [2020/12/16] 묻고답하기 footer 하단에 고정하려면 어딜 수정해야 할까요?
- [2017/10/25] 묻고답하기 메인페이지에서 통합검색 말고 게시판 검색하기 *4
- [2017/02/04] 묻고답하기 내용 직접 추가에서 html... *1
- [2015/05/08] 묻고답하기 레이아웃 몸통 늘리기 좀 도와주세요
댓글 0
글쓴이 | 제목 | 최종 글 |
---|---|---|
XE | 공지 글 쓰기,삭제 운영방식 변경 공지 [16] | 2019.03.05 by 남기남 |
지랭 |
게시판 비회원 글 등록시 관리자 메일 알림오게 하는 방법
[4]
![]() | 2017.04.24 by 지랭 |
이진수닷넷 |
Xedition레이아웃 수정
[1]
![]() | 2017.04.24 by 과니 |
신일섭 | 무료 호스팅인 InfinityFree 에서 XE를 설치할려고 합니다. [2] | 2017.04.24 by Moses |
Saivian777닷컴 |
모바일 레이아웃 질문 2가지 부탁드립니다.
![]() | |
AMMUSIC | SSL httpS:// 의 원리를 알고싶습니다. | |
쿨럭이 | 랜덤 출력 질문좀 받아주세요~ | |
원이아빠 |
순위게시판 모듈및 위젯을 구입할수있는곳이 있나요 ?
[1]
![]() | 2017.04.23 by sejin7940 |
닻미술관 | 게시판 페이지 수정 문의 [2] | 2017.04.22 by 닻미술관 |
금나라 |
회원가입시 자동등록방지 문자
[1]
![]() | 2017.04.22 by sejin7940 |
상해파 | 게시판 첨부파일 이미지만 삭제하는 방법? [4] | 2017.04.21 by sejin7940 |
havethe*** | 게시판 분류페이지 [2] | 2017.04.21 by EISOFT |
dfasdfasdf | 홈페이지를 pc브라우저와 휴대폰 브라우저에서 똑같이 pc브라우저 처럼 보이게 하고 싶습니다. [3] | 2017.04.21 by EISOFT |
hpsong |
게시판이 깨져 질문드립니다.
[3]
![]() | 2017.04.21 by EISOFT |
DoorIn |
게시판에서 화일첨부가 사라졌어요.
[3]
![]() | 2017.04.21 by EISOFT |
실존인물 | MySQL server has gone away 문제 | |
hellojdy |
스케치북게시판 갤러리형 질문입니다!
![]() | |
darkja**** | 다국어 메뉴 레이아웃 깨지는 현상 | |
railman | 포인트가 이상합니다. [1] | 2017.04.20 by J__ |
신화창조 | 특정 1차 메뉴에 대한 2차 메뉴를 항상 LNB 영역에 출력하는 방법 여쭤봅니다. | |
이온디 | &order_type=desc 이 글 갯수가 1 증가합니다. |