Re: wiki front page
- Posted by useless Aug 26, 2009
- 1370 views
Well, the Creole for making html is borking up everything i do.
Everything? Really? ... everything?
Yes, it was deleting whole lines, outputting html as plain text, changing html codes. In the wiki, it changed "style" to "class", dropped the first tag of sequential embedded css.
It's such a simple line to add, but no way to do it in Creole. Even using {{{ }}} around a line made up of the <div....> doesn't work, because the Creole changes the < to $lt;. And i had to use a $ instead of a & because the Creole kept borking that up too.
By design, the creole-to-html program does not allow raw html code to exist in the marked-up text. If 'sanitizes' the generated text so that the only html that is eventually generated is under the control of the website and not the editor of the wiki page.
It is not creole that is disturbing the raw text for the < but the forum software. I got around it by coding it as {{{&}}}lt;
I entered
<div class="floatright" style="margin-left: 1em;">
(that was not an "Interwiki image", whatever that is) and the previewed webpage was
}}}
<div class="margin-left: 1em;>">
so wrapping the leading < in brackets isn't working.
Well, goodie, the site uses a language that cannot be made to generate nice looking pages exactly as desired. I can understand the security aspect of limiting what code an editor can use to trash the site, but golly, if they wanted to trash the site, do you think they'd fight the Creole and bring it to your attention in the forum that it wouldn't allow that exact precise trashing scheme?
An added consideration: add a "RollBack" button, in case someone commits before preview, as occasionally happens in the forum.
useless