[Libreoffice-commits] .: Branch 'libreoffice-3-6' - helpcontent2/to-wiki

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Sep 13 00:31:25 PDT 2012


 helpcontent2/to-wiki/wikiconv2.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ff79af3a761f3034cf4280d5662d5c28854e0613
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jun 15 12:07:08 2012 +0200

    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 at suse.cz>

diff --git a/helpcontent2/to-wiki/wikiconv2.py b/helpcontent2/to-wiki/wikiconv2.py
index 837ffeb..502d05b 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>',


More information about the Libreoffice-commits mailing list