Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-html5-editor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test/show-off how smart whitespace checking is
[peach-html5-editor.git]
/
parser.coffee
diff --git
a/parser.coffee
b/parser.coffee
index
aa7233e
..
7992244
100644
(file)
--- a/
parser.coffee
+++ b/
parser.coffee
@@
-1246,6
+1246,7
@@
parse_html = (args_html, args = {}) ->
prev.text += t.text
return
dest[0].children.splice dest[1], 0, t
+ t.parent = dest[0]
return
# 8.2.5 http://www.w3.org/TR/html5/syntax.html#tree-construction