[Moin-user] html PRE and {{{ }}}
Thomas Waldmann
tw-public at gmx.de
Sun Dec 21 14:39:41 EST 2008
> displays perfectly, but replacing table by "||" and <pre> by {{{ fails
> because || tables sees the carriage return and refuse it.
You can't have table cell contents in wiki markup that is multiple
lines.
> ||<tablestyle="width:100%; background-color:#e0e0e0"> {{{ /boot
> /dev/hda1 10 Megabytes
> swap /dev/vg00/swap 256 Megabytes
> / /dev/vg00/root 2 Gigabytes
> /home /dev/vg00/home 6 Gigabytes
> }}} ||
>
> (on this example, I could remove the table enclosure - I don't really
> know why it's here, this is a HOWTO converted by jade from docbook)
>
> any idea,
As HTML is much more powerful than wiki markup, it is simply not
possible to convert arbitrary html to wiki.
BTW, moin's gui editor converter also has that problem: it gets html/xml
as input and has to output wiki markup. As long as the input is more or
less created from moin, that works mostly ok. But if some user has the
bad idea to copy and paste arbitrary stuff into the gui editor, it can
fail rather easily.
More information about the Moin-user
mailing list