svg icon indicating copy to clipboard operation
svg copied to clipboard

Support CDATA sections

Open cole-miller opened this issue 5 years ago • 2 comments

It would be useful to have an interface for generating and parsing CDATA sections (<![CDATA[ ]]>). These are used in SVG, e.g., to embed CSS rules inside a <style> element (example).

ETA: I'm working on a PR for this feature.

cole-miller avatar Apr 18 '20 00:04 cole-miller

Sorry for the late response! Yes, I would be happy to review.

IvanUkhov avatar Jan 31 '21 14:01 IvanUkhov

Anything happening here? I need this too :).

RudolfVonKrugstein avatar Oct 17 '22 15:10 RudolfVonKrugstein

The parsing of what is inside is unlikely to be supported, but thanks to @RudolfVonKrugstein, it is now at least exposed as a string for further external processing.

IvanUkhov avatar Oct 20 '22 20:10 IvanUkhov