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

Delta Between Two Patch Sets: tests/expected_output/relative/en/rel_path

Issue 29947567: Issue 5333 - Ensure links in metadata and in most tags can be made relative (Closed) Base URL: https://hg.adblockplus.org/cms/
Left Patch Set: Address comments on PS1 Created Nov. 21, 2018, 4:29 a.m.
Right Patch Set: Combine regex in converters.py Created Jan. 7, 2019, 10:23 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « tests/expected_output/relative/de/rel_path ('k') | tests/test_site/pages/rel_path.html » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 {{ head|safe }} 1 <!DOCTYPE html>
2 <html>
3 <head>
4
2 <title>Page Title</title> 5 <title>Page Title</title>
3 <link rel="stylesheet" href="../dist/css/main.min.css"> 6 <link rel="stylesheet" href="../dist/css/main.min.css">
4 <base href="https://www.example.com/news/index.html"> 7 <base href="https://www.example.com/news/index.html">
5 <script src="../scripts/myscript.js"></script> 8 <script src="../scripts/myscript.js"></script>
6 9 </head>
7
8
9 <!DOCTYPE html>
10 <html>
11
12 10
13 <body> 11 <body>
14 Simple TS with default: Translate. 12 Simple TS with default: Translate.
15 Same TS with no default: Translate. 13 Same TS with no default: Translate.
16 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://baz.co m/">Baz</a>. 14 Nested translation: <a href="http://foo.com/">Foo</a> and <a href="http://ba z.com/">Baz</a>.
17 Link resolving: <a href="translate" hreflang="en">This page</a>. 15 Link resolving: <a href="translate" hreflang="en">This page</a>.
18 Link to a non-translatable page: <a href="sitemap" hreflang="en">Site map</a>. 16 Link to a non-translatable page: <a href="sitemap" hreflang="en">Site map</a >.
19 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Foo</a>. 17 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Foo</a>.
20 Image link: <img src="../img/icon"></img> 18 Image link: <img src="../img/icon"></img>
21 Iframe link: <iframe src="../default.asp"></iframe> 19 Iframe link: <iframe src="../default.asp"></iframe>
22 Script link: <script src="myscripts.js"></script> 20 Script link: <script src="myscripts.js"></script>
23 Input link: <input type="image" src="../img/submit.gif" alt="Submit"> 21 Input link: <input type="image" src="../img/submit.gif" alt="Submit">
24 Link to external source: <a href="http://bar.de/">Bar</a> 22 Link to external source: <a href="http://bar.de/">Bar</a>
25 Link to self: <a href="rel_path" hreflang="en"> 23 Link to self: <a href="rel_path" hreflang="en">
26 Link to self with extension: <a href="rel_path.html" hreflang="en"> 24 Link to self with extension: <a href="rel_path.html" hreflang="en">
27 Relative link to local page: <a href="../en/sitemap"> 25 Relative link to local page: <a href="../en/sitemap">
28 Absolute link to local page: <a href="sitemap"> 26 Absolute link to local page: <a href="sitemap">
29 Relative link to different locale: <a href="../de/sitemap"> 27 Relative link to different locale: <a href="../de/sitemap">
30 Absolute link to diferent locale: <a href="../de/sitemap"> 28 Absolute link to diferent locale: <a href="../de/sitemap">
31 Relative link to page in subfolder: <a href="../foo/bar"> 29 Relative link to page in subfolder: <a href="../foo/bar">
32 Absolute link to page in subfolder: <a href="../foo/bar"> 30 Absolute link to page in subfolder: <a href="../foo/bar">
33 Resource URL: <link rel="stylesheet" href="../dist/css/main.min.css"> 31 Resource URL: <link rel="stylesheet" href="../dist/css/main.min.css">
34 </body> 32 </body>
33
35 </html> 34 </html>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld