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

Make sure to strip the value of data-inline(-ignore) attributes if they exist #14

Merged
merged 1 commit into from
Oct 23, 2015

Conversation

dantman
Copy link
Contributor

@dantman dantman commented Oct 22, 2015

Some html preprocessors like jade output data-inline as data-inline="data-inline" or data-inline="".

With the current regexps this results in things like <style =""> being left behind.

…they exist.

Some html preprocessors like jade output `data-inline` as `data-inline="data-inline"` or `data-inline=""`.

With the current regexps this results in things like `<style ="">` being left behind.
@jrit
Copy link
Owner

jrit commented Oct 23, 2015

Seems like an OK way to deal with the problem. Thanks again.

jrit added a commit that referenced this pull request Oct 23, 2015
Make sure to strip the value of `data-inline(-ignore)` attributes if they exist
@jrit jrit merged commit 25c3965 into jrit:master Oct 23, 2015
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