The problem I'm running into concerns the way WikklyText parses
TiddlyWiki macros. Understandably, the macros that exist in the
TiddlyWiki form of my content, do not exist in Python, so when
rendering, they are stripped by WikklyText and not included in the
final output. This all seems well and good, but it appears that when I
enclose the wikified text in <p> tags, the <p> tag is closed eary, at
the point where the non existent macro is stripped. For example:
<p>This is some text that should be <<macro>> wikified</p>
is being rendered as following:
<p>This is some text that should be </p> wikified</p>
The problem I'm running into concerns the way WikklyText parses
TiddlyWiki macros. Understandably, the macros that exist in the
TiddlyWiki form of my content, do not exist in Python, so when
rendering, they are stripped by WikklyText and not included in the
final output. This all seems well and good, but it appears that when I
enclose the wikified text in <p> tags, the <p> tag is closed eary, at
the point where the non existent macro is stripped. For example:
<p>This is some text that should be <<macro>> wikified</p>
is being rendered as following:
<p>This is some text that should be </p> wikified</p>
Thanks
Ben
Wow, good catch!
That was an inadvertent change, and happens to be fixed in the latest
beta (more or less by accident):
http://trac.tiddlywiki.org/ticket/1084#comment:3
-- F.
-- F.
Ok, a slight misunderstanding maybe:
What I'm doing is running the text of my tiddler through WikklyText,
and enclosing that in <p> tags in my HTML template. So for example:
<p class="content">{{wikified_text}}</p>
where {{wikified_text}} is the result of passing tiddler.text into
wikklytext.