Project

General

Profile

Actions

Defect #3391

closed

When reading RSS feed, the inline-embedded images are not properly shown.

Added by Jaeyoun Yi almost 15 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Feeds
Target version:
Start date:
2009-05-20
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

When the attached image files are embedded inline using ! ! wiki format,
RSS feed doesn't show the images properly because the URL of the images are not properly replaced.

To fix it, following modifications are needed in my opinion.

Line 26 of /app/views/issues/changes.rxml,

 xml.text! textilizable(change.notes) unless change.notes.blank?

should be modified to
 xml.text! textilizable(change.notes, :only_path => false, :attachments => issue.attachments) unless change.notes.blank?

  • And the Line 27 of /app/views/common/feed.atom.rxml,
     xml.text! textilizable(item.event_description, :only_path => false)
    

    should be modified to
     xml.text! textilizable(item.event_description, :only_path => false, :attachments => item.respond_to?(:attachments) ? item.attachments : nil)
    

Please, review these modifications to be inlcuded in the trunk.
Thanks.


Related issues

Related to Redmine - Defect #4204: Failing test in test_show_atomClosedEric Davis2009-11-12

Actions
Actions

Also available in: Atom PDF