Tabs lost when converting to HTML

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

Tabs lost when converting to HTML

Post by krimsoniuss »

Hi,

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.

Maikel
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

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