Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML not encoded in the listing of replacements #5

Open
Salubritas opened this issue Jun 27, 2018 · 1 comment
Open

HTML not encoded in the listing of replacements #5

Salubritas opened this issue Jun 27, 2018 · 1 comment

Comments

@Salubritas
Copy link

Thank you for the great extension!

HTML is not encoded in the list of replacements that have been set up, making it difficult to see them properly.
e.g. replacing
<h2 class="bigquote">([^&lt;]+)</h2>
with
<aside class="pullquote">$1</aside>
only shows
([^<]+) --> $1

@jkingsman
Copy link
Owner

I think that this is likely to be destructive to people who want to replace strings that show up in tags -- the page can get mangled pretty quickly. I'd be totally open to a PR to enable HTML replacement for certain rules if you feel so moved!

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

No branches or pull requests

2 participants