Hi All

I have a problem with formatting wiki pre-formated code, somithing like 
this:

<pre>
Test1
Test2
</pre>

This is generated into:

 <programlisting>Test1Test2</programlisting>

The line break between Test1 and Test2 is lost and mw-render displays the 
following warning:

2013-03-15T21:52:54 docbookwriter >> write: 'literallayout' 'not allowed in 
' 'programlisting' " (['code', 'keycombo', 'citerefentry', 'guiicon', 
'lineannotation', 'guimenu', 'guisubmenu', 'userinput', 'errortext', 
'methodsynopsis', 'footnoteref', 'inlineequation', 'structname', 
'interfacename', 'mousebutton', 'envar', 'othercredit', 'ulink', 
'methodname', 'guimenuitem', 'classsynopsis', 'systemitem', 'keycap', 
'productname', 'token', 'modespec', 'medialabel', 'guilabel', 'wordasword', 
'corpauthor', 'ooexception', 'destructorsynopsis', 'filename', 'errorcode', 
'constructorsynopsis', 'computeroutput', 'subscript', 'email', 'acronym', 
'replaceable', 'citetitle', 'exceptionname', 'oointerface', 'revhistory', 
'interface', 'optional', 'keycode', 'remark', 'package', 'varname', 
'errortype', 'textobject', 'ooclass', 'guibutton', 'structfield', 
'funcsynopsis', 'productnumber', 'authorinitials', 'classname', 
'fieldsynopsis', 'prompt', 'inlinegraphic', 'personname', 'trademark', 
'literal', 'type', 'olink', 'function', 'option', 'corpcredit', 'link', 
'foreignphrase', 'co', 'inlinemediaobject', 'glossterm', 'property', 
'anchor', 'constant', 'menuchoice', 'footnote', 'citation', 'errorname', 
'hardware', 'phrase', 'xref', 'author', 'orgname', 'synopsis', 
'application', 'emphasis', 'returnvalue', 'indexterm', 'parameter', 
'firstterm', 'sgmltag', 'quote', 'symbol', 'beginpage', 'cmdsynopsis', 
'action', 'biblioref', 'database', 'markup', 'coref', 'uri', 'abbrev', 
'command', 'keysym', 'superscript'])" ', dumping'

Any clues?
thanks

-- 
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to