ScroogeXHTML for Delphi is a library which can convert a subset of the RTF standard to XHTML and HTML5. It is compatible with Delphi 2009+ and Free Pascal 3.0. Version 6.12 introduces support for space before and after paragraphs. It also fixes “mailto:” protocol hyperlinks.
Home page, API, Getting Started PDF and demo download: https://www.scroogexhtml.com/scroogexhtml_delphi.html