Files
craft-libs/crates
dotCooCoo 01fcf22cb0 craft-svg: comment markers in a declaration's literal hide no later declaration
declared() skipped a comment or CDATA section wherever `<!--` or
`<![CDATA[` appeared, including inside an entity's quoted value, another
declaration's literal or a processing instruction. With
`<!ENTITY c "<!--">` before a large entity, the scan skipped to the end
of the file, the large entity was never recorded, and
entities_expand_past let its references through to the XML reader.

- declared() reads a declaration's quoted literals and a processing
  instruction as text: a comment or CDATA marker there starts nothing,
  and the declarations after it are still read.
- prescan() counts the markup in an entity's value the same way, and a
  comment, CDATA section or instruction that closes inside the value
  still opens and closes no element.
- too_wide() and prescan() find the end of the internal subset past
  quoted literals, comments and instructions, so a `]>` in a value no
  longer ends the document type early.
2026-11-16 11:23:53 -08:00
..
2026-11-13 21:38:11 +00:00
2026-11-14 17:49:47 +01:00
2026-11-13 01:31:26 -05:00
2026-11-15 11:38:06 +00:00