summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-06-15 12:07:08 +0200
committerJan Holesovsky <kendy@suse.cz>2012-06-28 11:35:53 +0200
commit5a905683ea3d3e2d6f1da33a6a8ba1ee418fe4a4 (patch)
treee8ab33f31dc45b37046d27982f3645cd252f54f5
parentf269e467c4a88d3103224d8941a226e50d504010 (diff)
fdo#51074: Start table cells with "| |"
...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 837ffebf2..502d05bd0 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>',