Alcinoe icon indicating copy to clipboard operation
Alcinoe copied to clipboard

Multiple linebreaks ignored in TAlText if immediately before html tag

Open rj1102 opened this issue 5 years ago • 1 comments

Just a minor issue while testing Rio:

AlText1.TextIsHtml := True; AlText1.Text := 'paragraph'#13#10#13#10'header'; // CRLFs are ignored AlText1.Text := 'paragraph'#13#10#13#10'header'; // CRLFs are not ignored (OK)

Only occurs for multiple CRLFs, single CRLF works always okay.

rj1102 avatar Jun 24 '19 08:06 rj1102

Just a minor issue while testing Rio:

AlText1.TextIsHtml := True; AlText1.Text := 'paragraph'#13#10#13#10'<b>header</b>'; // CRLFs are ignored AlText1.Text := 'paragraph<b>'#13#10#13#10'header</b>'; // CRLFs are not ignored

Only occurs for multiple CRLFs, single CRLF works always okay.

rj1102 avatar Jun 24 '19 08:06 rj1102