Project

General

Profile

Actions

Defect #7533

open

Inline image alt-text fails due to wiki syntax

Added by Ian Epperson almost 14 years ago. Updated almost 14 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
2011-02-03
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Using Redmine 1.1.0.stable.4702 (MySQL)

When an image is attached to a bug and the description contains a wiki link and the image is placed inline, the alt-text html code for the image is shown on resulting bug.

to recreate:
  • Create a bug
  • Upload an image to that bug with a #1 somewhere in the description.
  • Edit the bug description to show the image inline: add
    !image.png!
  • View the bug

You will see that the #1 in the issue description is expanded in the alt text and mangles the html:

<img src="/attachments/download/128" 
   title="This is image <a href="/issues/1" class="issue status-6 priority-2 closed created-by-me assigned-to-me"  
      title="Set up HTTPS access (Closed)">#1</a> of the set" 
  alt="This is image <a href="/issues/1" class="issue status-6 priority-2 closed created-by-me assigned-to-me" 
      title="Set up HTTPS access (Closed)">#1</a> of the set" 
/>

Files

screen-capture.png (22.5 KB) screen-capture.png Ian Epperson, 2011-02-03 17:19

Related issues

Blocked by Redmine - Feature #6269: RedCloth 4 supportNew

Actions
Actions

Also available in: Atom PDF