Skip to main content
Topic: Notification email shows "bad" html (Read 85 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Notification email shows "bad" html

The forum allows users to subscribe to email notifications, so that they get a message when a new topic or reply is posted.

I found a bug when the text contains characters that result in HTML entities.

Example:

Code: [Select]
[color=blue]> - greater than (>)[/color]


fails to render correctly, i.e. the text in the resulting email shows ">" instead of ">".

Without the color attribute it renders correctly:

Code: [Select]
> - greater than (>)

This makes me believe the BBCode rendering to HTML is incomplete to say the least. Anything I could do about this?