Hi Tobias

For some reason, the class wrapper gets eaten thanks to the macro call
> whereas it would be there if I would just do:
>

The action of the class wrapper in block mode is to add the specified
classes/styles to its immediate child nodes. Not all wikitext nodes allow a
class to be specified; in this case the macro invocation ignores the added
styles.

The @@ syntax is really intended to help apply classes/styles to other
wikitext constructions like lists, headings and tables. If you want more
control wrapping styles around text you may be better off using HTML.

In this case, perhaps the ximg macro should accept a class parameter?

Best wishes

Jeremy




> @@.pretty
> foo
> @@
>
> Bug?
>
> Best wishes, Tobias.
>
> --
> 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.

Reply via email to