I will appreciate any help! also it's parsing some of my link in tiddler as:
<a class="tc-tiddlylink-external" href="https://my.link/" rel="noopener
noreferrer" target="_blank">https://my.link/</a> and it's also breaks my
template
среда, 10 марта 2021 г. в 20:20:31 UTC+3, Balaram Usov:
> in my widget code I'm trying to render my tiddler using template:
>
> ```
> var parser = this.parseTiddler("$:/my/template"),
> widgetNode = $tw.wiki.makeWidget(parser,
> { variables: {currentTiddler: "$:/my/tiddler"}}),
> container = $tw.fakeDocument.createElement("div");
>
> widgetNode.render(container,null);
> ```
> It works. However, in a result I get a lot of <p> tags from template code
>
> Using {parseAsInline: true} as an argument to parseTiddler changes nothing
>
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/a706b53a-269d-4fe1-88b8-2b8bd2030d78n%40googlegroups.com.