묻고답하기

예를들어

 

<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">

이부분이 그대로 본문에 출력이 됩니다. 마치 텍스트화 된거처럼

 

어떻게 오류를 잡아야할까요?
 

에디터, 게시판 스킨 다른걸로 교체해봐도 똑같네요..

태그 연관 글
  1. [2020/12/16] 묻고답하기 footer 하단에 고정하려면 어딜 수정해야 할까요? by 가입명
  2. [2017/10/25] 묻고답하기 메인페이지에서 통합검색 말고 게시판 검색하기 by 김태근 *4
  3. [2017/02/04] 묻고답하기 내용 직접 추가에서 html... by 그티 *1
  4. [2015/05/08] 묻고답하기 레이아웃 몸통 늘리기 좀 도와주세요 by 착한동구
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
류중근 1024x768 화면을 쓰는데 글쓰기 버튼이 처박혔어요. [1] 2010.09.11 by ForHanbi
서정한554 생초보의 질문-mysql관련질문입니다  
violavi 제로님, 첨부파일 문제 언제 해결해 주실껍니까? [6] 2010.11.23 by 우리웹
Yewon@ 원격발행이 안됩니다!!  
hellosamyoo 잘 사용하던 XE보드내 "그림 업로딩 문제"가 있네요? 혹시 아시는 분? [1] 2011.03.10 by hellosamyoo
나관주 썸네일 출력관련  
박력558 급질.. 홈페이지 두군데 게시판에 같이 글이 남겨져요.. 흑흑 [1] 2011.05.26 by 길버트전
♡체리쉬♡ 게시판에 댓글이있는데 안보여요.... [1] 2011.10.03 by 백성찬
이우영913 회원가입 위젯 작동이안되요ㅠ  
♡체리쉬♡ 새롭게 만든 db에 전데이터를 옮기는 방법 [1] 2011.10.07 by 송동우
조양각 XE 1.5.0.3_beta 업그레이드 후 최근글이 보이지 않습니다. [1] 2011.10.21 by 송동우
푸른홈 회원정보수정에서 한자로 깨져 나오는 것 수정할 수 없나요? [2] file 2012.02.05 by CMD
SeunghyunLee 첨부파일 100% 증발에 대해서..  
主從 대용량 파일 첨부가 안됩니다. ㅠㅠ  
유형익 도와 주세요...ㅠㅠ file  
유형익 좀 도와주세요...ㅠㅠ [1] 2012.08.21 by jjjnnn
다미아빠 이 파일은 어떤 역할을 하나요? [4] 2015.07.05 by 다미아빠
나나난나나난 서버이전에 대한 질문입니다. mysql... [2] 2015.07.09 by 나나난나나난
불패의초인 디비를 복구 중에~ 이런 현상이... LOCKTABLES`xe_action_forward`WRITE ; [15] 2015.12.31 by jake
deok ie10, 11번전 css문제