HTML to Text in pure Xojo?

Hi Folks,

Has anyone written an HTML to Text parser in Xojo that’ shareable? Or, is such a beast available in a plugin?

Thanks,
Tim

Check out https://forum.xojo.com/19205-html-edit-control-for-xojo-wysiwyg-rich-text-editor/0

I guess Tim can help you, since he has done it in his product.

Tim’s efforts and Quill are very cool, but I don’t need to display or edit the results, I just need to be able to parse out line breaks versus wraps, etc., to make sure I’m properly handling lines.

With RegEx you could remove all HTML tags, with the exception of turning <br /> into line breaks.
Or are you looking to create StyledText/StyleRuns?

Use Tidy from the MBS.

Usual warning about html, regex and Cthulhu. See http://blog.codinghorror.com/parsing-html-the-cthulhu-way/