src/share/classes/com/sun/tools/doclets/formats/html/TagletWriterImpl.java

changeset 1911
80e75aa6a707
parent 1751
ca8808c88f94
child 1935
8c55df2442c1
     1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/TagletWriterImpl.java	Wed Jul 17 10:40:53 2013 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/TagletWriterImpl.java	Wed Jul 17 18:18:45 2013 -0700
     1.3 @@ -71,7 +71,7 @@
     1.4       * {@inheritDoc}
     1.5       */
     1.6      protected Content codeTagOutput(Tag tag) {
     1.7 -        Content result = HtmlTree.CODE(new StringContent(tag.text()));
     1.8 +        Content result = HtmlTree.CODE(new StringContent(Util.normalizeNewlines(tag.text())));
     1.9          return result;
    1.10      }
    1.11  
    1.12 @@ -135,7 +135,7 @@
    1.13       * {@inheritDoc}
    1.14       */
    1.15      protected Content literalTagOutput(Tag tag) {
    1.16 -        Content result = new StringContent(tag.text());
    1.17 +        Content result = new StringContent(Util.normalizeNewlines(tag.text()));
    1.18          return result;
    1.19      }
    1.20  

mercurial