Closed (won't fix)
Project:
Flag content
Version:
5.x-2.10
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2009 at 16:44 UTC
Updated:
3 Feb 2013 at 17:43 UTC
After upgrading from 5.x-2.9 to 5.x-2.10, when I flag a comment, the plain text e-mail notifying of the flagged comment now displays HTML code. For example,
<p>The following user flagged an item for your review.</p>
<p>User: user2 (<a href="http://www.mysite.com/users/user2" title="http://www.mysite.com/users/user2">http://www.mysite.com/users/user2</a>)<br />
Item: test post(<a href="http://www.mysite.com/section1/165#comment-95" title="http://www.mysite.com/section1/165#comment-95">http://www.mysite.com/section1/165#comment-95</a>)<br />
Reason: [reason for reporting comment]</p>
<p>Manage the flagged items list at <a href="http://www.mysite.com/admin/content/flag_content" title="http://www.mysite.com/admin/content/flag_content">http://www.mysite.com/admin/content/flag_content</a></p>
Has any encountered this issue as well & have suggestions on solving it? Is this a bug? Thanks in advance.
Comments
Comment #1
ankheg commentedI've changed
$body = check_markup($body);to
$body = check_plain($body);in flag_content.module string 565.
It solves the issue.
Comment #2
pomliane commentedThis version of Flag content is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.