Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: tests/test_site/pages/translate-tmpl.tmpl

Issue 29912578: Issue 7048 - Fix erroneous markup escaping in translation strings (Closed) Base URL: https://hg.adblockplus.org/cms
Patch Set: Created Oct. 16, 2018, 10:37 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/test_site/locales/en/translate.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/test_site/pages/translate-tmpl.tmpl
===================================================================
--- a/tests/test_site/pages/translate-tmpl.tmpl
+++ b/tests/test_site/pages/translate-tmpl.tmpl
@@ -8,10 +8,12 @@
Nested translation: {{ '<a href="{{nested-link http://foo.com/}}">Foo</a> and <a href="{{nested-link2 http://baz.com/}}">Baz</a>' | translate('nested-ts') }}.
Link resolving: {{ '<a href="translate">This page</a>' | translate('linked-ts') }}.
Entity escaping: {{ 'Drag&drop' | translate('entity-ts') }}.
Entity escaping in links: {{ '<a href="http://foo.com/?a&b">Foo</a>' | translate('entity-lnk') }}.
+
+Translation string with href: {{ get_string('href_inside') }}.
</body>
</html>
« no previous file with comments | « tests/test_site/locales/en/translate.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld