You've already forked lazarus-ccr
fpspreadsheet: Fix (?) display issue with text cells containing incorrect html parts (such as '<'), https://forum.lazarus.freepascal.org/index.php/topic,52694.0.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7944 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -958,6 +958,15 @@ begin
|
||||
analyzer.Prefix := APrefix;
|
||||
analyzer.Exec;
|
||||
APlainText := analyzer.PlainText;
|
||||
|
||||
// HTML text has an error --> take the input text literally
|
||||
if (AHtmlText <> '') and (APlainText = '') then
|
||||
begin
|
||||
APlainText := AHtmlText;
|
||||
ARichTextParams := nil;
|
||||
exit;
|
||||
end;
|
||||
|
||||
nrtp := Length(analyzer.RichTextParams);
|
||||
if nrtp > 0 then begin
|
||||
// Avoid rich-text parameters beyond text end.
|
||||
|
Reference in New Issue
Block a user