summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2013-05-10 14:18:19 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-05-13 10:34:58 +0000
commitd8f46055f562917e857c4395601138f0515e71d0 (patch)
tree35fbff2217cdac49805eee376640c3bb5acfb8b2
parentce4a33033e5b5e9f58bb9cf2c522afedaa9b1b3e (diff)
fdo#64205 escape '' in help text with <nowiki> tag
Change-Id: I07fed20194bcb4223c1070866fd147388da57ba9 Reviewed-on: https://gerrit.libreoffice.org/3845 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
-rwxr-xr-xto-wiki/wikiconv2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/to-wiki/wikiconv2.py b/to-wiki/wikiconv2.py
index 00d43d2c9..fb19eae27 100755
--- a/to-wiki/wikiconv2.py
+++ b/to-wiki/wikiconv2.py
@@ -129,7 +129,8 @@ replace_text_list = \
[["$[officename]", "{{ProductName}}"],
["%PRODUCTNAME", "{{ProductName}}"],
["$PRODUCTNAME", "{{ProductName}}"],
- ["font size", u"\u200dfont size"]
+ ["font size", u"\u200dfont size"],
+ ["''","<nowiki>''</nowiki>"]
]
def get_link_filename(link, name):