Hi Stephan
Sorry, try changing the output type to text/plain:
var text =
state.wiki.renderTiddler("text/html","$:/core/templates/static.tiddler.html",{variables:
{currentTiddler: title}});
Best wishes
Jeremy
On Fri, Mar 21, 2014 at 1:30 PM, Stephan Hradek <[email protected]>wrote:
> I got empty html because I changed my route.
>
> So now I fixed that, but I do NOT get what I expected but something very
> strange. I inspected the Network output using Firebug and this is the
> returned content (just the first 5 lines):
>
> <p><code><!doctype html>
> <html>
> <head>
> <meta http-equiv="Content-Type"
> content="text/html;charset=utf-8" />
> <meta name="generator" content="TiddlyWiki" />
>
>
>
>
--
Jeremy Ruston
mailto:[email protected]
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.