Edgewall Software
Modify

Opened 14 years ago

Last modified 9 years ago

#9688 new defect

Preformatted text in definition list rendered wrongly

Reported by: NODA, Kai <nodakai@…> Owned by:
Priority: normal Milestone: topic-wikiengine
Component: wiki system Version: 0.13dev
Severity: normal Keywords: definitionlist
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Suppose the following C++ code snippet:

class C {
  void f();
  ...
};

Then C++ programmers sometimes want to write a list like this:

 `C::f` :: compiles, but not tested at all
 ... :: ...

Here C::f is meant to be a method f defined in a class C.

But this markup yields a poor result:

`C
compiles, but not tested at all

I think "preformatted text" should be rendered as written whatever enclosing construct may be.

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 14 years ago

Keywords: definitionlist added
Milestone: 0.13
Owner: set to Christian Boos

This is pretty bad…

I think it's even a regression from early forms of the regexp (#2082 - but that specific kind of input is missing from the tests in r3004, so maybe it was never correctly supported after all).

Thanks for the report!

comment:2 by Christian Boos, 13 years ago

Milestone: 0.130.14-wikiengine

comment:3 by Ryan J Ollos, 9 years ago

Owner: Christian Boos removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


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