Tabs lost when converting to HTML

General TRichView support forum. Please post your questions here
Post Reply
Posts: 7
Joined: Thu Apr 26, 2018 2:14 pm

Tabs lost when converting to HTML

Post by krimsoniuss »


when I have tab stops in the RichViedEdit they are lost when converting to HTML. In our case the email that we create based on the RichText to HTML conversion loses the tab stops.


Sergey Tkachenko
Site Admin
Posts: 15238
Joined: Sat Aug 27, 2005 10:28 am

Re: Tabs lost when converting to HTML

Post by Sergey Tkachenko »

HTML cannot contain tabs.
In HTML, tabs, spaces, line breaks are all white-space characters. Browsers show any sequence of white-space characters as a single space character (or, in some places, ignore them completely).
What's why TRichView saves tabs a several alternate space and non-breaking-space characters.

Post Reply