okay, using \rules only filteredtranscludeinline transcludeinline macrodef 
macrocallinline html helped me with links and other, but paragraphs are 
still there and mess my html structure

среда, 10 марта 2021 г. в 20:52:50 UTC+3, Balaram Usov: 

> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5043bd8a-b524-4a30-9cfe-7842ba39a97en%40googlegroups.com.

Reply via email to