Skip to content

Multiline comments are parsed incorrectly #10

@DrMarkEy

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

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