lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-1610) Preserve whitespace in <code> sections in the Changes.html generated from CHANGES.txt by changes2html.pl
Date Fri, 24 Apr 2009 22:23:30 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless resolved LUCENE-1610.
----------------------------------------

    Resolution: Fixed

Thanks Steve!

> Preserve whitespace in <code> sections in the Changes.html generated from CHANGES.txt
by changes2html.pl
> --------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1610
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1610
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Website
>    Affects Versions: 2.9
>            Reporter: Steven Rowe
>            Priority: Trivial
>             Fix For: 2.9
>
>         Attachments: LUCENE-1610.patch
>
>
> The Trunk section of CHANGES.txt sports use of a new feature: <code> sections,
for the two mentions of LUCENE-1575.
> This looks fine in the text rendering, but looks crappy in the HTML version, since changes2html.pl
escapes HTML metacharacters to appear as-is in the HTML rendering, but the newlines in the
code are converted to a single space. 
> I think this should be fixed by modifying changes2html.pl to convert <code> and
</code> into (unescaped) <code><pre> and </pre></code>, respectively,
since just passing through <code> and </code>, without </?pre>, while changing
the font to monospaced (nice), still collapses whitespace (not nice). 
> See the java-dev thread that spawned this issue here: http://www.nabble.com/CHANGES.txt-td23102627.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message