Mark <link href=""> with |blessStringAsTrustedResourceUrlForLegacy

Soy is about to require trusted_resource_url in <link href="">. This change prepares for that by blessing existing string URLs.

More information: []

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=189795596
This commit is contained in:
jakubvrana 2018-03-20 13:10:57 -07:00 committed by jianglai
parent d54d546ea3
commit 173d8797f6

View file

@ -46,12 +46,12 @@
<link rel="icon" href="/assets/images/ribbon_certified-64.png">
{switch DEBUG}
{case google.registry.ui.ConsoleDebug.PRODUCTION}
<link rel="stylesheet" href="/assets/css/{$app}_bin.css">
<link rel="stylesheet" href="/assets/css/{$app |blessStringAsTrustedResourceUrlForLegacy}_bin.css">
{case google.registry.ui.ConsoleDebug.DEBUG}
<link rel="stylesheet" href="/assets/css/{$app}_dbg.css">
<link rel="stylesheet" href="/assets/css/{$app |blessStringAsTrustedResourceUrlForLegacy}_dbg.css">
{case google.registry.ui.ConsoleDebug.RAW}
<link rel="stylesheet"
href="/assets/sources/domain_registry/java/google/registry/ui/css/{$app}_imports_raw.css">
href="/assets/sources/domain_registry/java/google/registry/ui/css/{$app |blessStringAsTrustedResourceUrlForLegacy}_imports_raw.css">
{default}
<!-- No DEBUG option set. -->
{/switch}