Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes handling of double mustache in UiBinder.
In UiBinder, when an attiribute is set to an expression with double mustache the first curly bracket disappears. e.g. {{p in posts}} becomes {p in posts}} This is related to some undocumented behavior to disable field reference resoulution but it is pretty bad and makes it diffucult to integrate UiBinder with runtime templating systems like Polymer. This patch introduces a new escaping option: \{ABC} becomes {ABC} and not treated as a field reference. In addition, double mustache is also not treated as field reference nor replaced due escaping so that it will be correctly preserved in the final output. Change-Id: I24a202f3165a8ecdca8fb419e9c3197818df87b5
- Loading branch information
Showing
5 changed files
with
39 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters