Closed (duplicate)
Project:
Comment Notify
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2009 at 14:52 UTC
Updated:
2 Oct 2009 at 15:57 UTC
What I mean is... the tags are being sent as blah etc. They don't actually get sent as html but rather the code.
Is there something I'm missing?
Comments
Comment #1
gregglesI don't use this version any more so I'm unlikely to fix it myself.
I guess http://php.net/strip_tags might help? If you can provide a patch that would be great so I could commit it and fix the issue.
Comment #2
gregglesIn fact this also impacts the 6.x-1.x version. Perhaps we should use the drupal_html_to_text function on some of the fields that might contain HTML like the comment body and node body and node teaser?
Comment #3
greggles@ktlcom - can you help figure out which fields have this problem? Once I have that it would be easy to fix it.
Comment #4
Roavei commentedsame problem to me...
the text i write in the settings of the modul (with fckeditor) is emailed as text including all these disturbing html-tags.
would be great to have this fixed! :)
Comment #5
apshram commentedHi !
I use Comment Notify for my forums (advanced forum & TinyMCE used). I disable rich text editor for settings
I send !commtext in my following email and I have the same problem.
Problems appear for !commtext, !node_teaser, !node_body... (I didn't check the others)
Using drupal_html_to_text as you suggest is okay for me (but I don't know how to publish a patch, sorry) :
line 402 and 451 of comment_notify.module
'!commtext' => drupal_html_to_text($comment->comment),
I hope that can help you.
Comment #6
gregglesSince there's more code in #593958: html tags in !node_teaser and other variables. I'm marking this as a duplicate of that.