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

Unified Diff: tests/expected_output/relative/en/translate-html

Issue 29933596: Issue 5333 - Allow cms to generate relative pages (Closed) Base URL: https://hg.adblockplus.org/cms/
Patch Set: Address comments on PS2, rearrange test files (again) Created Nov. 7, 2018, 4:14 p.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
Index: tests/expected_output/relative/en/translate-html
===================================================================
new file mode 100644
--- /dev/null
+++ b/tests/expected_output/relative/en/translate-html
@@ -0,0 +1,21 @@
+<html>
+ <body>
+Simple TS with default: Translate.
+
+Same TS with no default: Translate.
+
+Another TS with no default: the <a href="http://foo.com/">default</a> is provided in EN translation file.
+
+TS with fixed text: Fixed text.
+
+Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.com/">Baz</a>.
+
+Link resolving: <a href="translate" hreflang="en">This page</a>.
+
+Link to a non-translatable page: <a href="sitemap" hreflang="en">Site map</a>.
+
+Entity escaping: Drag&amp;drop.
+
+Entity escaping in links: <a href="http://foo.com/?a&amp;b">Foo</a>.
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld