summaryrefslogtreecommitdiffstats
path: root/hunspell
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-03-14 11:26:26 +0000
committerFridrich Strba <fridrich@documentfoundation.org>2013-03-14 11:57:36 +0000
commit8e021eb1e73da8f008e8f35eaa01efbcddfbdaa7 (patch)
tree4ad38d524eaf8c4f570e3c45b290f4bea522506e /hunspell
parenthackaround for assert (diff)
downloadcore-8e021eb1e73da8f008e8f35eaa01efbcddfbdaa7.tar.gz
core-8e021eb1e73da8f008e8f35eaa01efbcddfbdaa7.zip
safer order of replacement
Change-Id: I912dbb6eddbb91bd9d5e18fb169f498df692d0e6 Reviewed-on: https://gerrit.libreoffice.org/2721 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'hunspell')
-rw-r--r--hunspell/hunspell.rhbz918938.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/hunspell/hunspell.rhbz918938.patch b/hunspell/hunspell.rhbz918938.patch
index 8d235030a8ff..f1bdbd4ff8ba 100644
--- a/hunspell/hunspell.rhbz918938.patch
+++ b/hunspell/hunspell.rhbz918938.patch
@@ -57,8 +57,8 @@
+ std::string entry((*slst)[i]);
free((*slst)[i]);
+ myrep(entry, "\t", " ");
-+ myrep(entry, "<", "&lt;");
+ myrep(entry, "&", "&amp;");
++ myrep(entry, "<", "&lt;");
+ r.append(entry);
+
+ r.append("</a>");