summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-06-15 12:07:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-06-15 12:07:21 +0200
commit94507b206c4ef5a2ae44e9351d82fad0cdd7bc50 (patch)
tree9d7f524a0da6f244c2e54fb75b878671af756b35
parentf112d9171f103d5716d26f2cf7e6e0fb8428c552 (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;."
-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>',