summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2013-05-10 14:18:19 +0200
committerAndras Timar <andras.timar@collabora.com>2013-11-05 10:05:08 +0100
commit7ce1a40e82bea15cfb47644c457e6b6a6a4e0306 (patch)
tree35fbff2217cdac49805eee376640c3bb5acfb8b2
parentec760d0ab5cc2237e01e6a1d15a7cca49fafa3e3 (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):