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

z_html: also strip html comments and the content of style/script tags #94

Merged
merged 2 commits into from
May 21, 2024

Conversation

mworrell
Copy link
Member

@mworrell mworrell commented May 20, 2024

This modifies z_html:strip to:

  • skip the data between the open/close of script, noscript and style tags.
  • remove html comments

Also add -0.0 where needed for OTP27 compatibility.

@mworrell mworrell requested a review from mmzeeman May 20, 2024 11:22
@mworrell mworrell merged commit 563e1f2 into master May 21, 2024
3 checks passed
@mworrell mworrell deleted the strip-style-comment-script branch May 21, 2024 08:03
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