summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-06-15 12:07:08 +0200
committerJan Holesovsky <kendy@suse.cz>2012-09-13 09:29:29 +0200
commitff79af3a761f3034cf4280d5662d5c28854e0613 (patch)
tree49be9d51e9a06151b569e74a323b197af2398dfb
parent8f2291e9222cf66b0b0873b7a500fb97bc19404b (diff)
fdo#51074: Start table cells with "| |"libreoffice-3-6
...so that a "|" in the cell content is not mistaken as separating parameters from content. But do note that <http://meta.wikimedia.org/w/index.php? title=Help:Table&oldid=3670686#Pipe_syntax_tutorial> rather suggests: "To show a visible pipe in a cell, use <nowiki>|</nowiki> or &#124;." Signed-off-by: Jan Holesovsky <kendy@suse.cz>
-rwxr-xr-xhelpcontent2/to-wiki/wikiconv2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpcontent2/to-wiki/wikiconv2.py b/helpcontent2/to-wiki/wikiconv2.py
index 837ffebf2e..502d05bd03 100755
--- a/helpcontent2/to-wiki/wikiconv2.py
+++ b/helpcontent2/to-wiki/wikiconv2.py
@@ -40,8 +40,8 @@ replace_paragraph_role = \
'paragraph': '',
'related': '', # used only in one file, probably in error?
'relatedtopics': '', # used only in one file, probably in error?
- 'tablecontent': '| ',
- 'tablecontentcode': '| <code>',
+ 'tablecontent': '| | ',
+ 'tablecontentcode': '| | <code>',
'tablehead': '! scope="col" | ',
'tablenextpara': '\n',
'tablenextparacode': '\n<code>',