Closed greggman closed 9 years ago
Thanks for your work, sorry for the delay. I will have time this week-end to write some unit tests and look at your code.
OK so I cherry-picked the first revision of your pull request, as the version bumping didn't merge with the last changes I did on package.json.
Thank you again for your work!
The issue is if there's a less than symbol in the script it comes through the
ontext
callback separated before and after. So for examplegets split into
if (a
(space aftera
) and< b) { doit(); }
A line in theontext
handler scripts trailing whitespec so when finally reassembled it comes out withWhich no longer lints correctly with certain rules on.
I think the solution is to strip the only the last string in each script tag