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:
75c1619
)
fix code to block loading scripts/etc
author
Jason Woofenden
<jason@jasonwoof.com>
Sun, 13 Mar 2016 03:46:56 +0000
(22:46 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sun, 13 Mar 2016 03:46:56 +0000
(22:46 -0500)
editor.coffee
patch
|
blob
|
history
diff --git
a/editor.coffee
b/editor.coffee
index
b73b3d9
..
efc218f
100644
(file)
--- a/
editor.coffee
+++ b/
editor.coffee
@@
-296,6
+296,7
@@
instantiate_tree = (tree, parent) ->
if c.name in ['script', 'object', 'iframe', 'link']
# TODO put placeholders instead
remove.unshift i
if c.name in ['script', 'object', 'iframe', 'link']
# TODO put placeholders instead
remove.unshift i
+ continue
# TODO create in correct namespace
c.el = parent.ownerDocument.createElement c.name
for k, v of c.attrs
# TODO create in correct namespace
c.el = parent.ownerDocument.createElement c.name
for k, v of c.attrs