Skip to content

Add LazyHTML.html_escape/1 - #14

Merged
jonatanklosko merged 1 commit into
mainfrom
jk-html-escape
Aug 4, 2025
Merged

Add LazyHTML.html_escape/1#14
jonatanklosko merged 1 commit into
mainfrom
jk-html-escape

Conversation

@jonatanklosko

Copy link
Copy Markdown
Member

Escaping can be useful when matching against HTML strings (for example, in tests). Technically the behaviour is the same as Plug.HTML.html_escape/1, but it's good to have it in LazyHTML for discoverability.

@jonatanklosko
jonatanklosko merged commit 6d3e2b3 into main Aug 4, 2025
6 checks passed
@jonatanklosko
jonatanklosko deleted the jk-html-escape branch August 4, 2025 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants