mirror of
https://github.com/google/nomulus.git
synced 2025-05-01 04:27:51 +02:00
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 '<' * 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 |
||
---|---|---|
.. | ||
com/google | ||
google/registry |