! First pass at an html to bbc class

Signed-off-by: Spuds <spuds@spudsdesign.com>
! couple of fixes for the html2bbc class ...
! stop processing items at the final root
! improve decoding (mainly for email html)
! missed a couple of break; in the the switch
! wrong closing tag [/u]

Signed-off-by: Spuds <spuds@spudsdesign.com>
! its best to simply convert all the entities now to help avoid re-double encoding later

Signed-off-by: Spuds <spuds@spudsdesign.com>
! convert emailpost.subs to use the new html2bbc class

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Seems the regex to separate the headers could clip the first line of the body
! protect the debug option until its removed

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Don't add a break if the previous line was already a br bbc code
! remove double br's inside bbc tags ... can you say msoffice?

Signed-off-by: Spuds <spuds@spudsdesign.com>
! don't get the node value everytime since its simply not needed, use the object when needed.
! handle the body tag, which indicates the final step as well ;)
! update some of the docblocks and spelling

Signed-off-by: Spuds <spuds@spudsdesign.com>
! copied from editor.subs, try to account for not http urls

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Wrong name used, its plain_body not body_plain
! remove the specialchar conversion, its taken care of elsewhere

Signed-off-by: Spuds <spuds@spudsdesign.com>
! missing ugly global

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #811 from Spuds/html2bbc

HTML2BBC converter and integration to PBE