Skip to content

  problem #142

Answered by renggli
filipenanclarez asked this question in Q&A
Apr 27, 2022 · 4 comments · 4 replies
Discussion options

You must be logged in to vote

  is not an XML character entity. You can configure the XML parser to use HTML5 entities instead of the standard XML ones, which should correctly decode @nbsp; to a whitespace:

final document = XmlDocument.parse(input, entityMapping: XmlDefaultEntityMapping.html5());

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by renggli
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@renggli
Comment options

@filipenanclarez
Comment options

@renggli
Comment options

@filipenanclarez
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #141 on April 28, 2022 18:49.