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

ankheg’s picture

I've changed

$body = check_markup($body);

to

$body = check_plain($body);

in flag_content.module string 565.

It solves the issue.

pomliane’s picture

Status: Active » Closed (won't fix)

This 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.