tali713 / esxml

An elisp library for working with xml, esxml and sxml.
58 stars 14 forks source link

Remove duplicate `raw-string` handling #36

Closed toyboot4e closed 2 years ago

toyboot4e commented 2 years ago

Hi :wave:

raw-string is not working well with sxml-to-xml today. For example,

(esxml-to-xml '(raw-string "<br>"))
;; => "br"

(sxml-to-xml '(raw-string "<br>"))
;; => "<raw-string>&lt;br&gt;</raw-string>"

This PR removes the duplicate raw-string handling in sxml-to-xml. It worked for my use case, but I'm not sure if it works well for all use cases.


Thank you for the great library! I'm making my org-based blog page with esxml, following System Crafters. The sxml-based templaet is giving me full control over the output and I'm very happy with the getting result.

toyboot4e commented 2 years ago

No, I failed to fix it, I faked myself 😩 Sorry for the noise :pray: