Project

General

Profile

Actions

Defect #11209

closed

Wiki diff may generate broken HTML

Added by Kouhei Sutou almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Wiki
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

If Wiki diff has a new line (not a changed line), diff page may generates broken HTML like:

<div class="text-diff">
h1. CookBook documentation 
<br /> Some updated [[documentation]] here... <span class="diff_in">
<br /> More contents...&lt;/span&gt;
</div>

Close </span> tag is escaped.

For example:

Before

h1. CookBook documentation
Some updated [[documentation]] here...

After:

h1. CookBook documentation
Some updated [[documentation]] here...
More contents...

"More contents..." line is added. This case, diff page generates broken HTML.


Files


Related issues

Has duplicate Redmine - Defect #11735: Weird diffs in wiki pages.Closed

Actions
Actions

Also available in: Atom PDF