Skip to content

CDATA comments are not inserted at the correct tab level, but rather inserted at the beginning of the line. #4

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

Closed
wyoumans opened this issue Mar 5, 2013 · 5 comments

Comments

@wyoumans
Copy link

wyoumans commented Mar 5, 2013

Thanks for your work on this helpful plugin!

@Warin
Copy link
Owner

Warin commented Mar 6, 2013

Can you send me a test case?

@wyoumans
Copy link
Author

wyoumans commented Mar 6, 2013

Sure. After doing further testing, it looks like it is actually the first line after a script or style tag that is indented incorrectly.

before cleanup: https://gist.github.com/klanoma/6d3e91c3ff224cf87467
after cleanup: https://gist.github.com/klanoma/190889d1a7d0f0ef7766

my config file looks like: https://gist.github.com/klanoma/a6a029ffd22cd44febb7

let me know if you need anything else.
thanks.

@Warin
Copy link
Owner

Warin commented Mar 7, 2013

thanks, I will digg into it when I have some time!

@Warin
Copy link
Owner

Warin commented Mar 7, 2013

It seems to be a know issue in Tidy-html5.
See htacg/tidy-html5#56 and htacg/tidy-html5#13

Since this script is just running the Tidy-html5 build, I can't do much at this time.
Sorry that I can't help on this one.

@wyoumans
Copy link
Author

wyoumans commented Mar 7, 2013

thanks for looking into it!

@wyoumans wyoumans closed this as completed Mar 7, 2013
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