Modify examples_features_test templates so they pass for idom. Explanations as cl comments below.
GITHUB_BREAKING_CHANGES=n/a
// which returns dir="ltr" for an LTR value in an RTL locale, dir="rtl" for an RTL value in an LTR
// locale, and an empty string otherwise.
//
- <div id="title1" style="font-variant:small-caps" {bidiDirAttr($title)}>
+ <div id="title1" style="font-variant: small-caps;" {bidiDirAttr($title)}>
{$title}
</div>
// dir attribute on the <div>, we declare $title's directionality using the |bidiSpanWrap print
// directive, which wraps the value to be printed in a <span dir="ltr">, <span dir="rtl">, or
// nothing at all when it has the same directionality as the locale.
- <div id="title2" style="font-variant:small-caps">
+ <div id="title2" style="font-variant: small-caps;">
{$title |bidiSpanWrap}
</div>
// most instances of 'left' and 'right' in the style should be replaced with {bidiStartEdge()}
// and {bidiEndEdge()}, respectively. Here, we want the Help link at the "far" edge of the page,
// i.e. on the right in LTR and on the left in RTL.
- <a href="#" style="float:{bidiEndEdge()}">{msg desc="Link to Help"}Help{/msg}</a>
+ <a href="#" style="float: {bidiEndEdge()};">{msg desc="Link to Help"}Help{/msg}</a>
<br>
{/template}
