Skip to content

XML 내에서 문서작업을 하는 경우 이스케이프 처리가 필요합니다. #11

Description

@outsideris
<title>챕터</title>

위와 같이 XML태그가 포함된 경우 이런 단어가 전체 조회단어에 걸릴 경우 아래처럼 XML이 그대로 출력되서 html이 깨집니다.

<TR>
  <TD class='tdLT' title=0>입력 내용</TD>
  <TD id='tdErrorWord_0' class='tdErrWord' style='color:#008000;' ><title>챕터</title></TD>
</TR>
<!--대치어 -->
<TR>
  <TD class='tdLT'>대치어</TD>
  <TD id='tdReplaceWord_0' class='tdReplace' ><title> 챕터</title><br/></TD>
</TR>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions