Defect #7533
Inline image alt-text fails due to wiki syntax
Status: | New | Start date: | 2011-02-03 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Text formatting | |||
Target version: | - | |||
Resolution: | Affected version: | 1.1.0 |
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" />
Related issues
History
#1
Updated by Etienne Massip over 11 years ago
- Category set to Text formatting
Looks like it' a RedCloth bug fixed with 4.0.2.