Skip to content

Fix: correctly escape raw HTML blocks. - #44

Merged
letmutex merged 1 commit into
letmutex:mainfrom
bjones1:raw_html_escape
Aug 7, 2025
Merged

letmutex merged 1 commit into
letmutex:mainfrom
bjones1:raw_html_escape

Conversation

@bjones1

@bjones1 bjones1 commented Aug 7, 2025

Copy link
Copy Markdown
Contributor

Last PR for now! I'm still working on code for future PRs.

This escapes raw HTML, such as:

<p>&lt;pre</p>
<p>&lt;script</p>
<p>&lt;style</p>
<p>&lt;textarea</p>
<p>&lt;address</p>
<p>&lt;ul</p>

which should become:

\<pre

\<script

\<style

\<textarea

\<address

\<ul

@letmutex
letmutex merged commit 32d7902 into letmutex:main Aug 7, 2025
@letmutex

letmutex commented Aug 7, 2025

Copy link
Copy Markdown
Owner

Merged! Thanks again!

@bjones1
bjones1 deleted the raw_html_escape branch August 7, 2025 15:40
@bjones1

bjones1 commented Aug 7, 2025

Copy link
Copy Markdown
Contributor Author

Certainly!

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