With #9406, you're supposed to write:
{{{
#!rtl
[[PageOutline]]
= Right 1 =
RTL 1
== Right 2 ==
RTL 2
}}}
Right 1
RTL 1
Right 2
RTL 2
Or at the very least:
{{{
#!div dir="rtl" class="rtl"
[[PageOutline]]
= Right 1 =
RTL 1
== Right 2 ==
RTL 2
}}}
Right 1
RTL 1
Right 2
RTL 2
so that the .rtl div.wiki-toc
CSS rule can apply.
However that rule is only in wiki.css, and should probably be moved into trac.css so that it could work in tickets as well.
Now the other issues with this specific example (.wiki-toc
) is that .wiki-toc
is also only in wiki.css. Here it looks "correct" because the TH:WikiExtrasPlugin overrides it (with float: right !important;
so this would even override the .rtl .wiki-toc
one). The joy of bringing together bits and pieces of CSS ;-)