#9027 closed defect (fixed)
In 0.11-stable, line breaks are added between section headings and section text
| Reported by: | Owned by: | Christian Boos | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.12 |
| Component: | wiki system | Version: | 0.11-stable |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
This issue appears to be fixed in 0.12dev, however exists in the latest 0.11-stable. Using the following markup in the description field results in extra linebreaks between the section heading and text.
== Section 1 == Section 1 Description. == Section 2 == Section 1 Description.
You can see that it looks okay under 0.12.
Section 1
Section 1 Description.
Section 2
Section 1 Description.
However, as seen in the demo site http://trac.edgewall.org/demo-0.11/ticket/59, there are extra line ending added between the section heading and section text.
I don't see this behavior with markup on wiki pages.
I will also attach a screen capture from my Trac 0.11.4 installation showing this issue.
Attachments (1)
Change History (4)
by , 16 years ago
| Attachment: | ExtraLineBreaksWhenUsingHeadingsInTicket.png added |
|---|
comment:1 by , 16 years ago
| Component: | ticket system → wiki system |
|---|---|
| Milestone: | → next-minor-0.12.x |
Replying to Ryan Ollos <ryano@…>:
This issue appears to be fixed in
0.12dev, however exists in the latest0.11-stable. Using the following markup in the description field results in extra linebreaks between the section heading and text.== Section 1 == Section 1 Description. == Section 2 == Section 1 Description.You can see that it looks okay under 0.12.
No, see e.g. http://trac.edgewall.org/demo-0.12/ticket/39#comment:1
The effect is due to [ticket] preserve_newlines being true.
comment:2 by , 16 years ago
| Milestone: | next-minor-0.12.x → 0.12 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
We simply needed to add <br> only when we were inside a paragraph.
Fixed in r9312.
comment:3 by , 16 years ago
| Owner: | set to |
|---|




Screen capture demonstrating issue on my Trac instance