PDA

View Full Version : Are these bugs? [color] is always yellow and "send update" tries to send HTML email


Cap'n Steve
04-17-2005, 07:34 PM
<font color="DarkOrchid">This is supposed to be Dark Orchid.</font>

And when you use the "Send Update" button to email users who installed your hack, it runs the message through html_special_chars() even though it's sent as plain text, which means my recipients got email with lots of &quot;s.

If these aren't bugs, is there any particular reason for them?

Marco van Herwaarden
04-17-2005, 07:39 PM
The first is to stop people using all colors of the rainbow to atract attention. The second i wouldn't know, never noticed this myself.

Reeve of shinra
04-17-2005, 11:59 PM
I noticed that the & sign gets transformed to &amp; in the emails.

Link14716
04-18-2005, 02:23 AM
The [color] thing was because of people using yellow and it causing a pain in the ass in the green styles (back when dark blue was the default).

Cap'n Steve
04-18-2005, 03:55 AM
Well, it'd be nice to not have the entire pallette show up if we can only use yellow.

The second one is kind of a serious bug, as it's impossible to mention any sort of code or HTML in an update.

Colin F
04-18-2005, 04:47 PM
Xenon will have to look at the code for the send update problem.

Dan
04-18-2005, 04:52 PM
The [color] thing was because of people using yellow and it causing a pain in the ass in the green styles (back when dark blue was the default).
Then we should have a [highlight] code to prevent this instead of destroying colour all together..... it's a pain in the arse when you actually need to use colours. (especially when using the wysig editor)

Xenon
04-20-2005, 01:48 PM
ther is a highlight tag already, but it wasn't used, just the color tag was used, so i just replaced the color parsing with the highlight parsing :p

@Send update bug: oh, have to take a look at it, when i'm back at home