You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How does one get <Localized elems> to not strip attributes? Alternatively, how does one explicitly wire up the attribute(s)? #669
// This is taking place inside a loop, hence the `key={unit}` and generated translation `id`<Localizedkey={unit}id={`unit-${unit}`}vars={{ value }}elems={{abbr: <abbr/>,}}><spanclassName="whitespace-nowrap"/></Localized>
and for the most part it works, except it renders as
How do I shuttle that title into there from the translation? I'd prefer to not get l10n.getString involved, as that decouples the translation from the context. If there's a way to do this with fluent properties that'd also be fine, but as far as I can tell, the attrs on Localized only applies to the root element, not the elems elements. Right?
Activity