Menu

Commit [r5586]  Maximize  Restore  History

Fix for #3295 (preserving empty lines in wiki code blocks). The approach chosen is a workaround until the wiki formatting engine has been updated to emit markup event streams instead of big blobs of text. It requires adding an `xml:space="preserve"` attribute to the containing element of any `wiki_to_html()` expression in the templates. These attributes do make it through to the output, but that shouldn't do any harm. They'd go away if we simply serialized to HTML.

cmlenz 2007-06-05

changed /trunk/trac/templates/attachment.html
changed /trunk/trac/templates/diff_view.html
changed /trunk/trac/ticket/templates/milestone_view.html
changed /trunk/trac/ticket/templates/query.html
changed /trunk/trac/ticket/templates/query_results.html
changed /trunk/trac/ticket/templates/report_view.html
changed /trunk/trac/ticket/templates/roadmap.html
changed /trunk/trac/ticket/templates/ticket.html
changed /trunk/trac/versioncontrol/templates/browser.html
changed /trunk/trac/versioncontrol/templates/changeset.html
changed /trunk/trac/versioncontrol/templates/revisionlog.html
changed /trunk/trac/wiki/formatter.py
changed /trunk/trac/wiki/templates/wiki_edit.html
changed /trunk/trac/wiki/templates/wiki_view.html
changed /trunk/trac/wiki/tests/wiki-tests.txt
/trunk/trac/templates/attachment.html Diff Switch to side-by-side view
Loading...
/trunk/trac/templates/diff_view.html Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/templates/milestone_view.html Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/templates/query.html Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/templates/query_results.html Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/templates/report_view.html Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/templates/roadmap.html Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/templates/ticket.html Diff Switch to side-by-side view
Loading...
/trunk/trac/versioncontrol/templates/browser.html Diff Switch to side-by-side view
Loading...
/trunk/trac/versioncontrol/templates/changeset.html Diff Switch to side-by-side view
Loading...
/trunk/trac/versioncontrol/templates/revisionlog.html Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/formatter.py Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/templates/wiki_edit.html Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/templates/wiki_view.html Diff Switch to side-by-side view
Loading...
/trunk/trac/wiki/tests/wiki-tests.txt Diff Switch to side-by-side view
Loading...
Auth0 Logo