mirror of
https://github.com/google/nomulus.git
synced 2025-05-28 16:30:12 +02:00
Fix closing and self-closing tags in templates
Void tags (e.g. <img>) couldn't have a closing tag (e.g. </img> is invalid). Non-void tags (e.g. <div>) couldn't be self closing (e.g. <div/> is invalid) and must be closed explicitly (e.g. with </div>). This CL fixes the tags which also prepares the templates for stricthtml which enforces it. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=168829028
This commit is contained in:
parent
ccb0bf5af0
commit
04a61794e0
21 changed files with 31 additions and 31 deletions
|
@ -15,7 +15,7 @@
|
|||
{namespace registry.soy.api autoescape="strict"}
|
||||
|
||||
/** Domain check fee request for one domain. */
|
||||
{template .domaincheckfee}
|
||||
{template .domaincheckfee stricthtml="false"}
|
||||
{@param domainName: string}
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue