diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-06-15 12:07:08 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-06-28 11:35:53 +0200 |
commit | 5a905683ea3d3e2d6f1da33a6a8ba1ee418fe4a4 (patch) | |
tree | e8ab33f31dc45b37046d27982f3645cd252f54f5 | |
parent | f269e467c4a88d3103224d8941a226e50d504010 (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 |."
Signed-off-by: Jan Holesovsky <kendy@suse.cz>
-rwxr-xr-x | helpcontent2/to-wiki/wikiconv2.py | 4 |
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>', |