You've already forked lazarus-ccr
fpspreadsheet: Fix incorrect handling of <br> tag in html cell text. Cells with line-breaks are now automatically word-wrapped.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9005 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -842,9 +842,15 @@ begin
|
||||
AddRichTextParam(FCurrFont);
|
||||
end;
|
||||
'<BR>',
|
||||
'<BR/>': FPlainText := FPlainText + FPS_LINE_ENDING;
|
||||
else if (pos('<BR ', NoCaseTag) = 1) then
|
||||
'<BR/>': begin
|
||||
FPlainText := FPlainText + FPS_LINE_ENDING;
|
||||
FHandled := True;
|
||||
end;
|
||||
else if (pos('<BR ', NoCaseTag) = 1) then
|
||||
begin
|
||||
FPlainText := FPlainText + FPS_LINE_ENDING;
|
||||
FHandled := True;
|
||||
end;
|
||||
end;
|
||||
'D': if (NoCaseTag = '<DEL>') then
|
||||
begin
|
||||
|
Reference in New Issue
Block a user