Skip to content

Multiline comments are parsed incorrectly #10

Description

@DrMarkEy

When I try to parse a string like:

<artist>
  <!--<album title="lost album">
     <track>
       Lost track
    </track>
  </album>-->
</artist>

I would expect the output to be only the artist-element with no children.
Instead I get the artist element with two children: The first one is the track-element, the second one is a text-node with value "-->\n".

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