X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/PHPDocument.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/PHPDocument.java index e2d2fc5..d6a394d 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/PHPDocument.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/PHPDocument.java @@ -24,6 +24,7 @@ public class PHPDocument implements OutlineableWithChildren { public AstNode[] nodes; public char[] name; + /** The parent of the object. */ public Object parent; @@ -56,7 +57,11 @@ public class PHPDocument implements OutlineableWithChildren { break; } buff.append(node.toString(0)); - buff.append(";\n"); + if (node instanceof HTMLCode) { + buff.append("\n"); + } else { + buff.append(";\n"); + } } } return buff.toString();