Actions
Defect #16321
closedCustom Fields with "Link values to URL" set are displayed as escaped html in email
Defect #16321:
Custom Fields with "Link values to URL" set are displayed as escaped html in email
Status:
Closed
Priority:
Normal
Assignee:
Category:
Email notifications
Target version:
Resolution:
Fixed
Affected version:
Description
It looks like the function formatted_value in source:/trunk/lib/redmine/field_format.rb accepts a parameter html, but never uses it. Custom fields with a url pattern present are always returned as links.
Example Custom Field "External Link":
Format: Integer
Name: External Link
Link values to URL: https://support.example.com/tasks/%value%
Display in notification email:
Environment:
Files
Updated by Todd Hambley over 12 years ago
- File field_format.rb.patch field_format.rb.patch added
Attached patch uses html parameter to produce expected output.
field_format.rb (revision 12954)
Updated by Jean-Philippe Lang over 12 years ago
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Target version set to 2.5.1
- Resolution set to Fixed
Fixed in r12967, thanks for pointing this out.
Updated by Jean-Philippe Lang over 12 years ago
- Status changed from Resolved to Closed
Merged.
Actions