-
Notifications
You must be signed in to change notification settings - Fork 187
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
Not properly parsing out comments. #130
Comments
Note: It appears this affects I'm setting up a new |
…ed out of <style> blocks.
Here's my change, it's just one line: patricknelson@a4edbab If that works for you, I can submit the PR after you push an updated branch, and then you can bump the version and slap a tag on it I suppose. |
Why should you do that anyways? I think that syntax is pretty obsolete, all browsers today fully support stylesheet tags, right? |
Yes it is obsolete, but it doesn't prevent large corporate monoliths from distributing code that my clients need to paste into an editor which I must support. I have a specific use case and the workflow needs to be optimized and the time from receipt of HTML to production needs to be reduced and this tool is part of that process :) Plus this opens up the branch for further fixes for anyone else using the older 1.5x API in case there are any other bugs or slight improvements. |
And by "time" I'm talking minutes since it is press/news related. |
I won't support 1.5 anymore. I advice you to upgrade to 2.x |
Ok, thanks for the update. I know there's some effort involved here on your part (maintaining github) so thanks for your time. With 1.5 aside: Do you know if v2 properly parses out old-school style HTML comments and, if not, would you be opposed to supporting that if I put the effort into that? Especially if it's not hacky and doesn't have adverse effects anywhere else? 😄 |
Hi, I found that this plugin wasn't properly parsing out HTML comments which may exist in some inline
<style>
blocks, such as this one for example:As a result,
->processCSS()
will end up thinking that the first class above is<!--.bwalignc
instead of.bwalignc
. I'll submit a quick PR in a moment to patch this up!The text was updated successfully, but these errors were encountered: