google-nomulus/java/google/registry
lukes 8a8276e838 ​​​Remove html ambiguity from soy templates.
Soy is gaining support for parsing/validating html structure and as such a number of patterns will start getting rejected by the parser.  This change fixes newly errant soy templates by:

* transforming '<' characters that are not part of html tags to '&lt;'
* inserting whitespace following tag names so that they are unambiguous
* changing templates not rendering html to kind="text" so html rules don't apply
* fixing control flow such that all tags (and quoted attribute values) are completely defined within a single control flow block.  In some cases this required extracting {let..} vars or whole templates and in others it required duplicating conditions.
* removing stray unmatched quote characters in html tags.
* fixing incorrectly written html comments

LSC: https://docs.google.com/document/d/18MLrX8kUVzYGe1dBaSfh1kcQ_1UB02QHOk4KZtvHkIc/edit#

Tested:
    $ blaze test //third_party/java_src/gtld/java/google/registry/flows:all //third_party/java_src/gtld/java/google/registry/tools/soy:all

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=140475284
2016-12-06 11:52:46 -05:00
..
backup Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
batch Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
bigquery Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
braintree Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
builddefs Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
config Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
cron Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
dns Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
eclipse Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
env Switch TMCH SMDRL fetch job to start at 00:15 and 12:15 2016-11-15 11:02:42 -05:00
export Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
flows Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
gcs Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
groups Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
idn Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
keyring/api Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
loadtest Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
mapreduce Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
model Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
module Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
monitoring Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
pricing Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
rdap Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
rde Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
request Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
security Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
storage/drive Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
tldconfig/idn Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
tmch Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
tools ​​​Remove html ambiguity from soy templates. 2016-12-06 11:52:46 -05:00
ui Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
util Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
whois Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
xjc Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
xml Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
BUILD Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
repositories.bzl Revert change to Guava 20 until we get it working properly 2016-11-02 15:19:34 -04:00