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

Side by Side Diff: tests/test_site/pages/rel_path_html.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.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <head>
2 <title>Page Title</title>
3 <link rel="stylesheet" href="/dist/css/main.min.css">
4 </head>
5 <html>
6 <body>
7 Simple TS with default: {{ simple[desc] Translate }}.
8 Same TS with no default: {{ simple }}.
9 Nested translation: {{nested-ts <a href="{{nested-link http://foo.com/}}">Foo</a > and <a href="{{nested-link2 http://baz.com/}}">Baz</a>}}.
10 Link resolving: {{linked-ts <a href="translate">This page</a>}}.
11 Link to a non-translatable page: {{linked-ts2 <a href="sitemap">Site map</a>}}.
12 Entity escaping in links: {{entity-lnk <a href="http://foo.com/?a&b">Foo</a>}}.
13 Image link: <img src="img/icon"></img>
14 Link to external source: <a href="http://bar.de/">Bar</a>
15 Link to self: <a href="rel_path">
16 Link to self with extension: <a href="rel_path.html">
17 Relative link to local page: <a href="../en/sitemap">
18 Absolute link to local page: <a href="/en/sitemap">
19 Relative link to different locale: <a href="../de/sitemap">
20 Absolute link to diferent locale: <a href="/de/sitemap">
21 Relative link to page in subfolder: <a href="../foo/bar">
22 Absolute link to page in subfolder: <a href="/foo/bar">
23 Resource URL: <link rel="stylesheet" href="/dist/css/main.min.css">
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld