Project

General

Profile

Actions

Defect #11262

closed

Link is escaped in wiki added/updated notification email

Added by Łukasz Jachymczyk over 12 years ago. Updated over 12 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

After wiki page update/addition a notification mail is generated. This mail contains localized message :mail_body_wiki_content_updated with interpolated html link to wiki page (:id argument).

Currently, this generated message is treated as html unsafe and thus all tags are escaped. The workaround is to call html_safe method on localized message. Attached patch contains implementation of this workaround and unit tests covering this issue.

Please let me know if there is a better solution.


Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.4
Rails version 3.2.6
Active Record version 3.2.6
Action Pack version 3.2.6
Active Resource version 3.2.6
Action Mailer version 3.2.6
Active Support version 3.2.6
Environment development
Database adapter sqlite3
Database schema version 20120422150750


Files

Actions

Also available in: Atom PDF