Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-html5-editor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5056e7c
)
fix escaped script tags too
author
Jason Woofenden
<jason@jasonwoof.com>
Wed, 23 Dec 2015 20:16:29 +0000
(15:16 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Wed, 23 Dec 2015 20:16:29 +0000
(15:16 -0500)
parse-html.coffee
patch
|
blob
|
history
diff --git
a/parse-html.coffee
b/parse-html.coffee
index
cea8fa1
..
8b2712d
100644
(file)
--- a/
parse-html.coffee
+++ b/
parse-html.coffee
@@
-3343,6
+3343,11
@@
parse_html = (args) ->
tok_state = tok_state_self_closing_start_tag
return
# fall through
+ if c is '>'
+ if is_appropriate_end_tag tok_cur_tag
+ tok_state = tok_state_data
+ return tok_cur_tag
+ # fall through
if is_uc_alpha(c)
tok_cur_tag.name += c.toLowerCase()
temporary_buffer += c.toLowerCase()