Hi James The <p> tags are being generated because the content returned by the JS macro is being parsed in "block" mode, and so the parser is looking for double line breaks to separate paragraphs.
There are several things you may be able to do to fix this but the easiest would be to explicitly call the JS macro with the <$macrocall> widget and specify mode="inline". Would that work here? Best wishes Jeremy On Mon, Mar 30, 2015 at 11:49 PM, James Anderson <[email protected] > wrote: > I came across this today while working on some simple YT macros so I can > link to specific times within videos on a statically exported blog. > > http://phasersonkill.com/2015/3/31/macro%20sample.html > > The first video is generated via a JS macro and the 2nd via a plain macro > defined with a global scope. the difference in size (at least on Chrome and > IE) is because the JS macros output is wrapped in <p> tags. I can probably > do some CSS hacking to fix this but is there a way of stopping the <p> tags > from being generated in this case? > > Thanks, > James > > -- > 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. > -- 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.

