1
0
mirror of https://github.com/google/nomulus synced 2026-07-19 22:42:23 +00: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:
jakubvrana
2017-09-15 06:46:59 -07:00
committed by jianglai
parent ccb0bf5af0
commit 04a61794e0
21 changed files with 31 additions and 31 deletions
@@ -103,7 +103,7 @@
{param namePrefix: 'contact:postalInfo[0].contact:' /}
{/call}
{/if}
<table id="domain-contact-postalInfos-footer"/>
<table id="domain-contact-postalInfos-footer"></table>
</div>
</td>
</tr>
@@ -22,7 +22,7 @@
* @param item
* @param clTrid
*/
{template .create}
{template .create stricthtml="false"}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<create>
@@ -63,7 +63,7 @@
* @param item
* @param clTrid
*/
{template .update}
{template .update stricthtml="false"}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<update>
@@ -104,7 +104,7 @@
* @param id
* @param clTrid
*/
{template .info}
{template .info stricthtml="false"}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<info>
@@ -21,7 +21,7 @@
* @param item
* @param clTrid
*/
{template .create}
{template .create stricthtml="false"}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<create>
@@ -61,7 +61,7 @@
* @param id
* @param clTrid
*/
{template .info}
{template .info stricthtml="false"}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<info>
@@ -84,7 +84,7 @@
* @param? addContacts list of contact to add.
* @param? remContacts list of contact to remove.
*/
{template .update}
{template .update stricthtml="false"}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<update>
@@ -148,7 +148,7 @@
* @param item
* @param clTrid
*/
{template .createSunrush}
{template .createSunrush stricthtml="false"}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<create>
@@ -192,7 +192,7 @@
* @param applicationID
* @param clTrid
*/
{template .infoSunrush}
{template .infoSunrush stricthtml="false"}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<info>
@@ -219,7 +219,7 @@
* @param item
* @param clTrid
*/
{template .updateSunrush}
{template .updateSunrush stricthtml="false"}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<update>
@@ -21,7 +21,7 @@
* @param pw
* @param clTrid
*/
{template .login}
{template .login stricthtml="false"}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<login>
@@ -47,7 +47,7 @@
* Logout request.
* @param clTrid
*/
{template .logout}
{template .logout stricthtml="false"}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<logout/>
@@ -20,7 +20,7 @@
* @param item
* @param clTrid
*/
{template .create}
{template .create stricthtml="false"}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<create>
@@ -47,7 +47,7 @@
* @param? addAddrs list of addrs to add.
* @param? remAddrs list of addrs to remove.
*/
{template .update}
{template .update stricthtml="false"}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<update>
@@ -79,7 +79,7 @@
* @param clTrid
* @param id The hostname (named "id" to preserve component API).
*/
{template .info}
{template .info stricthtml="false"}
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<info>