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

Support for HTML comments? #24

Open
SirRawlins opened this issue Feb 24, 2017 · 2 comments
Open

Support for HTML comments? #24

SirRawlins opened this issue Feb 24, 2017 · 2 comments
Assignees

Comments

@SirRawlins
Copy link

Is there any desire to add support for stripping HTML comments? I often heavily comment my HTML for development notes but don't want it making it out into production code.

Single Line:

<!-- Single Line Comment. -->

Multiline:

<!--
    This is a multiple line HTML comment
    which would be stripped from the multiline option.
-->

I guess a modification to the REGEX would need to be made to search for this comment syntax, including the invisible line breaks?

@jnthnjns
Copy link
Owner

@SirRawlins I will explore the possibility. It has been awhile since I have touched this project and there a couple changes/additions I already have planned so I will add this to that task list.

If you think you have a solution feel free to create a PR. If you do, please make sure to add tests for your solution.

@jnthnjns jnthnjns self-assigned this Feb 24, 2017
@SirRawlins
Copy link
Author

SirRawlins commented Feb 24, 2017 via email

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