Changeset 3533

Show
Ignore:
Timestamp:
15/01/08 14:50:31 (4 years ago)
Author:
michael
Message:

Fix output of comments as-is from source document.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/java/org/sarugo/xtc/XMLWriter.java

    r3197 r3533  
    8686        public void writeComment(Object comment) throws IOException { 
    8787                closeOpenElement(); 
    88                 write("<!-- "); 
    89                 write(escapeXml(String.valueOf(comment))); 
    90                 write(" -->"); 
     88                write("<!--"); 
     89                write(String.valueOf(comment)); 
     90                write("-->"); 
    9191        } 
    9292