google / google/closure-templates
Shouldn't allow using bidiSpanWrap in content kind "text"
Open
- Dominant language
- Java
- Stars
- 700
- Forks
- 199
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 26
Description
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 ``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?
Contributor guide
Assessment
This issue has not been assessed yet.