mirror of https://github.com/Gnucash/gnucash
An html render containing a <script>...</script> tag will not typically be parsable by sxml. This augmentation will strip an html tag from the render. Therefore we can use (gnc:options->sxml ... #:strip-tag "script") which will strip off the whole <script> section from the render, which should usually then be parsable. Note: this is not foolproof, and does not support nested <script> tags, and it will strip quoted "</script>" tags too, but should cover common cases.pull/411/head
parent
867aa78f91
commit
3e9cd1fc11
Loading…
Reference in new issue