Kaydet (Commit) 8e021eb1 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Fridrich Strba

safer order of replacement

Change-Id: I912dbb6eddbb91bd9d5e18fb169f498df692d0e6
Reviewed-on: https://gerrit.libreoffice.org/2721Tested-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
üst 1525a2ca
...@@ -57,8 +57,8 @@ ...@@ -57,8 +57,8 @@
+ std::string entry((*slst)[i]); + std::string entry((*slst)[i]);
free((*slst)[i]); free((*slst)[i]);
+ myrep(entry, "\t", " "); + myrep(entry, "\t", " ");
+ myrep(entry, "<", "&lt;");
+ myrep(entry, "&", "&amp;"); + myrep(entry, "&", "&amp;");
+ myrep(entry, "<", "&lt;");
+ r.append(entry); + r.append(entry);
+ +
+ r.append("</a>"); + r.append("</a>");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment