Skip to content

Don't escape quotes ('/") in text nodes and attributes.

Jonathan Neuhauser requested to merge github/fork/Ede123/quotes into master

Created by: Ede123

  • In text nodes quotes are fine
  • In attributes quotes are fine if used reciprocally.

Escaping in the latter case often causes issues, e.g. with quoted font names (#21 (closed)) or inline CSS styles (#56 (closed)), while it probably does not gain anything (if quotes are wrongly used in attribute names the XML is most likely invalid to start with)

Merge request reports

Loading