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

Side by Side 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 unified diff | Download patch
1 <html>
2 <body>
3 Simple TS with default: Translate.
4 Same TS with no default: Translate.
5 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co m/">Baz</a>.
6 Link resolving: <a href="translate" hreflang="en">This page</a>.
7 Link to a non-translatable page: <a href="sitemap" hreflang="en">Site map</a>.
8 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Foo</a>.
9 Image link: <img src="../img/icon"></img>
10 Link to external source: <a href="http://bar.de/">Bar</a>
11 Link to self: <a href="rel_path" hreflang="en">
12 Link to self with extension: <a href="rel_path.html" hreflang="en">
13 Relative link to local page: <a href="../en/sitemap">
14 Absolute link to local page: <a href="sitemap">
15 Relative link to different locale: <a href="../de/sitemap">
16 Absolute link to diferent locale: <a href="../de/sitemap">
17 Relative link to page in subfolder: <a href="../foo/bar">
18 Absolute link to page in subfolder: <a href="../foo/bar">
19 Resource URL: <link rel="stylesheet" href="../dist/css/main.min.css">
20 </body>
21 </html>

Powered by Google App Engine
This is Rietveld