setting tiddler type of $:/my/template to "text/html" leads to getting iframe
среда, 10 марта 2021 г. в 20:50:14 UTC+3, Balaram Usov: > 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/db438cef-1b92-465b-b4c6-ea36f8606f04n%40googlegroups.com.