Project

General

Profile

Actions

Defect #5369

closed

Wiki formatting breaks

Added by Yar Isakov about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
2010-04-22
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

Hello, I've installed Redmine and found that if I create wiki with revision link on last line, formatting is broken. Here is explanation:
Good case:

a
r1
b

So we have this in html code:
<h1 id="abr-r1br-b">
And display of this is good

Bad case:

a
b
r1

And we must have this:
<h1 id="abr-bbr-r1">
But Redmine see r1 in id and thinks that it's must be a link to revision, so it insert <a href="/redmine/projects/test/repository/revisions/1" class="changeset" title="test revision">r1</a> in id:
<h1 id="abr-bbr
<a href="/redmine/projects/test/repository/revisions/1" class="changeset" title="test revision">r1</a>">
and formatting here is bad.
I have:
Redmine-0.9.3
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
fastthread (1.0.7)
passenger (2.2.11)
rack (1.1.0, 1.0.1)
rails (2.3.5)
rake (0.8.7)

Actions

Also available in: Atom PDF