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
(from parent 1:
43cf85a
)
fix typo bugs
author
Jason Woofenden
<jason@jasonwoof.com>
Thu, 24 Dec 2015 14:07:55 +0000
(09:07 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Thu, 24 Dec 2015 14:07:55 +0000
(09:07 -0500)
parse-html.coffee
patch
|
blob
|
history
diff --git
a/parse-html.coffee
b/parse-html.coffee
index
f5437c9
..
3c861ba
100644
(file)
--- a/
parse-html.coffee
+++ b/
parse-html.coffee
@@
-1651,7
+1651,7
@@
parse_html = (args) ->
parse_error()
open_els.unshift head_element_pointer
ins_mode_in_head t
- for el, i of open_els
+ for el, i in open_els
if el is head_element_pointer
open_els.splice i, 1
return
@@
-1721,7
+1721,7
@@
parse_html = (args) ->
return unless second.name is 'body'
return if template_tag_is_open()
flag_frameset_ok = false
- for a of t.attrs_a
+ for a in t.attrs_a
second.attrs[a[0]] = a[1] unless second.attrs[a[0]]?
return
if t.type is TYPE_START_TAG and t.name is 'frameset'