Opened 8 years ago

Last modified 3 months ago

#15998 new defect

<pre> needs background-color and the syntax-highlighter checked — at Version 1

Reported by: Hb--- Owned by: team
Priority: trivial Milestone:
Component: Core Version:
Keywords: help html trac css Cc:

Description (last modified by Don-vip)

Wiki text inside three curly brackets {{{is delivered as <code>if no line break</code> or as

<pre>when the brackets start the line.</pre>

This variant allows syntax-highlighting with Wiki Processors.

<code> is since #15910 well displayed within the limits of the Help Browser.

<pre> has two issues:

  1. The formatting of the area lacks of a background-color (and a border, if possible). The area should look the same as in a normal web browser.
  2. The result of the #!sh syntax-highlighter is wrong, i.e.
    • the line break after comment lines gets lost and
    • the colour for highlighted words gets lost too.

See the screenshot, especcially the orange coloured marks for missing line breaks:


Change History (2)

by Hb---, 8 years ago

comment:1 by Don-vip, 8 years ago

Description: modified (diff)
Milestone: 18.02
Note: See TracTickets for help on using tickets.