google / google/closure-templates

Shouldn't allow using bidiSpanWrap in content kind "text"

Open
#161 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.