04-07-2011, 05:22 PM
(04-07-2011, 05:11 PM)JonO Wrote: Maybe this would help? http://www.clickomania.ch/progs/HTMLstripper.htm
Well, that program won't help help as I'm using Linux and python, and I'm sure not going to manually run emails through that thing.
The idea though is a good suggestion, though I've already considered it and dismissed it.
There are fundamental issues regarding parsing and stripping HTML that make it way too much of a headache. The main reason is that clients insert HTML and linebreaks willy-nilly into the message, and I guarantee after stripping HTML all the formatting of the original orders will be lost. And I'm not about to go and parse the HTML to determine the structure of the message.
This will all be irrelevant after this game, because the primary input interface will not be a manually crafted email message. If a player insists on submitting orders that way, they will have the benefit of the tools I've created this game, but receive no support if those fail.