You've already forked lazarus-ccr
fpspreadsheet: Fix writing of hyperlink displaytext with double-quotation characters in xlsx causing an xml read error. Issue #0029640.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4494 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -2597,7 +2597,7 @@ begin
|
||||
end;
|
||||
if bookmark <> '' then //target = '' then
|
||||
s := Format('%s location="%s"', [s, bookmark]);
|
||||
txt := AWorksheet.ReadAsUTF8Text(hyperlink^.Row, hyperlink^.Col);
|
||||
txt := UTF8TextToXMLText(AWorksheet.ReadAsUTF8Text(hyperlink^.Row, hyperlink^.Col));
|
||||
if (txt <> '') and (txt <> hyperlink^.Target) then
|
||||
s := Format('%s display="%s"', [s, txt]);
|
||||
if hyperlink^.ToolTip <> '' then begin
|
||||
|
Reference in New Issue
Block a user