Shouldn't allow using bidiSpanWrap in content kind "text"
dbarnett opened this issue · comments
David Barnett commented
I found when I accidentally used the bidiSpanWrap
directive in a template block with kind="text"
it would look fine in simple cases with same text directionality but show literal <span dir="ltr"></span>
s in the content in other cases. Since this directive is fundamentally incompatible with kind="text"
, is it possible for the compiler to detect this incompatible usage and give an error?