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

Unified Diff: tests/expected_output/relative/en/rel_path_html

Issue 29947567: Issue 5333 - Ensure links in metadata and in most tags can be made relative (Closed) Base URL: https://hg.adblockplus.org/cms/
Patch Set: Created Nov. 20, 2018, 4:23 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
Index: tests/expected_output/relative/en/rel_path_html
===================================================================
new file mode 100644
--- /dev/null
+++ b/tests/expected_output/relative/en/rel_path_html
@@ -0,0 +1,21 @@
+<html>
+ <body>
+Simple TS with default: Translate.
+Same TS with no default: Translate.
+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 in links: <a href="http://foo.com/?a&amp;b">Foo</a>.
+Image link: <img src="../img/icon"></img>
+Link to external source: <a href="http://bar.de/">Bar</a>
+Link to self: <a href="rel_path" hreflang="en">
+Link to self with extension: <a href="rel_path.html" hreflang="en">
+Relative link to local page: <a href="../en/sitemap">
+Absolute link to local page: <a href="sitemap">
+Relative link to different locale: <a href="../de/sitemap">
+Absolute link to diferent locale: <a href="../de/sitemap">
+Relative link to page in subfolder: <a href="../foo/bar">
+Absolute link to page in subfolder: <a href="../foo/bar">
+Resource URL: <link rel="stylesheet" href="../dist/css/main.min.css">
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld