You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the code in the hiccup->text function should be able to be re-purposed for a more generic transform-hiccup function which takes a similar input of conversions (matcher->zip-fn). Rather than returning string, the converted tree is returned.
This function should also be accompanied by some helper code for making XML Hiccup HTML-safe, i.e. element tags prefixed with a namespace and attributes prefixed with data-.
The text was updated successfully, but these errors were encountered:
simongray
changed the title
Generic Hiccup rewrite
Generic Hiccup rewrite fn
Nov 18, 2024
simongray
changed the title
Generic Hiccup rewrite fn
Generic Hiccup transformation fn
Nov 18, 2024
Most of the code in the
hiccup->text
function should be able to be re-purposed for a more generictransform-hiccup
function which takes a similar input ofconversions
(matcher->zip-fn). Rather than returning string, the converted tree is returned.This function should also be accompanied by some helper code for making XML Hiccup HTML-safe, i.e. element tags prefixed with a namespace and attributes prefixed with
data-
.The text was updated successfully, but these errors were encountered: