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

Add Dual Pane Support and Single Token Scripts #3

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Minor offset correction in script tag closure detection
  • Loading branch information
recurrence committed Aug 1, 2013
commit 914407a36d96decaa31cd9436b67c61ed0d88686
2 changes: 1 addition & 1 deletion src/htmldiff.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ html_to_tokens = (html)->
when 'script'
if is_end_of_tag char
current_word += '>'
end = current_word.substr current_word.length - 8
end = current_word.substr current_word.length - 9
if end is '</script>'
words.push current_word
current_word = ''
Expand Down