Edgewall Software
Modify

Opened 18 years ago

Closed 17 years ago

#2423 closed defect (duplicate)

Header wiki markers are not equally rendered in 'preview' mode and once the ticket is 'saved'

Reported by: Emmanuel Blot Owned by: Jonas Borgström
Priority: low Milestone:
Component: ticket system Version: 0.9
Severity: trivial Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When adding the header wiki syntax in a ticket description field, such as === Header === , the header is displayed as a standard wiki header section when the user previews it (i.e. as a undecorated text with a large font), whereas once the ticket is saved, the same header is shown as an underlined,grayed text with a normal font.

The trouble may come from the CSS definition:

In preview mode, the XHTML definition that wraps the description is as follow:

<div class="field">
  <!-- ... -->
  <fieldset id="preview">
    <legend>Comment Preview</legend>
    <h3 id="Test">Test</h3>
  </fieldset>
</div>

whereas once saved and rendered, the XHTML definition becomes

<div id="changelog">
  <!-- ... -->
  <div class="comment"><h3 id="Test">Test</h3>
  </div>
  <!-- ... -->
</div>

where the following CSS definition apply:

#changelog h3 {
 border-bottom: 1px solid #d7d7d7;
 color: #999;
 font-size: 100%;
 font-weight: normal;
}

In the preview mode, the previewed description is not enclosed in the <div id="changelog"> division, so the above CSS definition does not apply - which makes the rendered XHTML look different.

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 17 years ago

Resolution: duplicate
Status: newclosed

This will probably be solved with #2460.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.