게시판을 모바일보기 체크한 후에,

스케치북 모바일 스킨 사용 중 

댓글을 수정할 경우

댓글의 태그가 그대로 노출이 됩니다.


같은 스케치북 스킨을 쓰더라도, 모바일보기를 체크하지 않은 경우에는 댓글 태그가 노출되지 않습니다.

이건 왜 그런 가요??

  • profile
    http://sejin7940.co.kr/index.php?document_srl=105089&mid=xe_tips

    modules/document/document.controller.php 에서

    function insertDocument 함수와
    function updateDocument 함수에서

    $obj->content = nl2br($obj->content);
    를 주석처리하거나 삭제


    modules/comment/comment.controller.php 에서
    function insertComment 함수와
    function updateComment 함수에서
    $obj->content = nl2br($obj->content);
    를 주석처리하거나 삭제


    그 이후부터 모바일에서 등록된 내용도
    <p>&nbsp;</p> 가 안 붙고
    정상적으로 등록이 됨
    | 복제된 문서입니다. (원본) http://sejin7940.co.kr/index.php?document_srl=105089

    2015년도 글인데 아직 적용되는군요 ㅠㅠ
  • profile
    http://sejin7940.co.kr/index.php?document_srl=99188&mid=xe_tips