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

Add HTML Mutator capability for Plugins. #120

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dannys42
Copy link

@dannys42 dannys42 commented Dec 31, 2021

Add HTML mutation capability to Plugins. This allows Plugins to perform any number of last-minute changes on the raw HTML output. Some possible uses:

  • HTML validation
  • pretty printing
  • minification
  • analytics tracking insertion
  • integration of any other HTML-based tools/filters/etc

@dannys42
Copy link
Author

@JohnSundell Let me know what you think about this approach. I'll add more comments to the public APIs if you think this is the right direction. Let me know if you think it warrants any unit tests as well.

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.

1 participant