(verbatim-xml-str x)
escapes < > and &. e.g. (xml-str "<p> tom & dick & harry </p> " ) ;; => "<p> tom & dick & harry &lt;/p&gt;"
escapes < > and &. e.g. (xml-str "<p> tom & dick & harry </p> " ) ;; => "&lt;p&gt tom & dick & harry &lt;/p&gt;"
(xml-str x)
escapes < > and &, while leaving html entities unchanged. e.g. (xml-str "<p> tom & dick & harry </p> " ) ;; => "<p> tom & dick & harry </p>"
escapes < > and &, while leaving html entities unchanged. e.g. (xml-str "<p> tom & dick & harry </p> " ) ;; => "<p> tom & dick & harry </p>"
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close