Hi. I'm looking for a high powered HTML to BBCode converter. Yes, there already is convert_wysiwyg_html_to_bbcode(), but it has two limitations:
1) It seems to mess up carefully spaced things (using <pre> tags). This is no big deal until you put Python code (in html form) through :surprised:
2) It seems to be limited in the html it can handle - more for wysywig stuff - I'm looking to take an actual html page, and load it up into a post, as bbcode
Any help would be appreciated.
Forgot to add - also, convert_wysiwyg_etc chokes on "e;'s - they come in literally (ampersand-q-u-o-t-e-

, not as quotation marks