Question
I created a plugin (KnowledgeBasePlugin) allowing for simple linking of knowledge base documents. The document's data is stored in form data, so the topics themselves don't contain any text. The skin I created takes the form field's values to display the documents. First, I tried using
%META:{"formfield" name="<field name>"}%, as I saw somewhere in the documentation, but this didn't work. I then implemented the extraction of the fields in my plugin. This all works.
Problem
The text contained within the fields is standard TWiki markup. This is rendered properly, except for bullet and numbered lists. They aren't rendered:
* bullet 1
* bullet 2
becomes
* bullet 1 * bullet 2
on the generated HTML page instead of
What strikes me is that everything else (headings, bold text, links, separators) works, just not the lists. The source of the generated HTML page looks correct, meaning no hidden tags that would prevent TWiki from rendering the bullets:
<p />
* bullet 1
* bullet 2
<p />
Environment
--
ThomasJachmann - 26 Sep 2003
Answer
Simple answer: Use
tab +
star +
space, e.g. generate a tab instead of three spaces for bullets. For historical reasons, TWiki stores files with tabs instead of leading spaces.
--
PeterThoeny - 27 Sep 2003
Very simple indeed...

I'll change the code of the plugin doing the output to convert three spaces to tabs then. Thank you very much.
--
ThomasJachmann - 27 Sep 2003