JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
parse comments (13 passing tests)
[peach-html5-editor.git] / test.coffee
index 1c45b68..baea4e7 100644 (file)
@@ -7807,7 +7807,7 @@ serialize_els = (els, prefix = '| ') ->
                        when wheic.TYPE_TEXT
                                ret += "#{prefix}\"#{el.text}\"\n"
                        when wheic.TYPE_COMMENT
-                               ret += "#{prefix}<!--#{el.text}-->\n"
+                               ret += "#{prefix}<!-- #{el.text} -->\n"
                        when wheic.TYPE_DOCTYPE
                                ret += "#{prefix}<!DOCTYPE#{el.name}>\n" # FIXME add ids
                        else