Skip to content

Xml escaped characters trigger a new text event. #19

Description

@wampleek

If the parser sees the text "<p>This is some html text.</p>" (properly escaped), it will call the text handler 7 times:
<
p
>
This is some html text.
<
/p
>
I believe this choice was made b/c unescaping the characters changes the text length, and it's easier just to send the callback event and move on rather than deal with the changes in indices. However, it would be a significant improvement to pass a single block of text to the onCharacters event.

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