Project

General

Profile

Actions

Defect #5369

closed

Wiki formatting breaks

Added by Yar Isakov over 14 years ago. Updated almost 14 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 #1

Updated by Yar Isakov over 14 years ago

Hey, r1 in Description of this bug is very strange, it is shown as link, then as striked link (and text after it also striked), and then all r1 are non-links

Actions #2

Updated by Mischa The Evil almost 14 years ago

  • Status changed from New to Closed
  • Resolution set to Cant reproduce

Can't reproduce this on the current Redmine trunk. Your use-case is now handled correctly.

Actions

Also available in: Atom PDF