Skip to content

Make HTML escaping configurable #25

Open
@lorddoig

Description

I'm currently using as-hiccup to transform parsed HTML into a vector I can save and later render with Reagent. This works almost flawlessly except for the fact that as-hiccup escapes any TextNodes it comes across, meaning things like & show up as literal strings when I pipe it down to the browser.

Maybe a keyword argument is the way to go? Not sure how that works with protocols.

Metadata

Assignees

No one assigned

    Labels

    category: parsingCorrectness and Edge Cases. Hail the DOMtype: bugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions