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

Side by Side Diff: tests/expected_output/relative/de/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/
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:
View unified diff | Download patch
« no previous file with comments | « cms/converters.py ('k') | tests/expected_output/relative/en/rel_path » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html>
1 <html> 2 <html>
3 <head>
4
5 <title>Page Title</title>
6 <link rel="stylesheet" href="../dist/css/main.min.css">
7 <base href="https://www.example.com/news/index.html">
8 <script src="../scripts/myscript.js"></script>
9 </head>
10
2 <body> 11 <body>
3 Simple TS with default: Übersetzen. 12 Simple TS with default: Übersetzen.
4 Same TS with no default: Übersetzen. 13 Same TS with no default: Übersetzen.
5 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz.de/ ">Baz</a>. 14 Nested translation: <a href="http://bar.de/">Bar</a> und <a href="http://baz .de/">Baz</a>.
6 Link resolving: <a href="translate" hreflang="de">Diese Seite</a>. 15 Link resolving: <a href="translate" hreflang="de">Diese Seite</a>.
7 Link to a non-translatable page: <a href="../en/sitemap" hreflang="en">Seitenver zeichnis</a>. 16 Link to a non-translatable page: <a href="../en/sitemap" hreflang="en">Seite nverzeichnis</a>.
8 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Bar</a>. 17 Entity escaping in links: <a href="http://foo.com/?a&amp;b">Bar</a>.
9 Image link: <img src="../img/icon"></img> 18 Image link: <img src="../img/icon"></img>
10 Link to external source: <a href="http://bar.de/">Bar</a> 19 Iframe link: <iframe src="../default.asp"></iframe>
11 Link to self: <a href="rel_path" hreflang="de"> 20 Script link: <script src="myscripts.js"></script>
12 Link to self with extension: <a href="rel_path.html" hreflang="de"> 21 Input link: <input type="image" src="../img/submit.gif" alt="Submit">
13 Relative link to local page: <a href="../en/sitemap"> 22 Link to external source: <a href="http://bar.de/">Bar</a>
14 Absolute link to local page: <a href="../en/sitemap"> 23 Link to self: <a href="rel_path" hreflang="de">
15 Relative link to different locale: <a href="../de/sitemap"> 24 Link to self with extension: <a href="rel_path.html" hreflang="de">
16 Absolute link to diferent locale: <a href="sitemap"> 25 Relative link to local page: <a href="../en/sitemap">
17 Relative link to page in subfolder: <a href="../foo/bar"> 26 Absolute link to local page: <a href="../en/sitemap">
18 Absolute link to page in subfolder: <a href="../foo/bar"> 27 Relative link to different locale: <a href="../de/sitemap">
28 Absolute link to diferent locale: <a href="sitemap">
29 Relative link to page in subfolder: <a href="../foo/bar">
30 Absolute link to page in subfolder: <a href="../foo/bar">
31 Resource URL: <link rel="stylesheet" href="../dist/css/main.min.css">
19 </body> 32 </body>
33
20 </html> 34 </html>
OLDNEW
« no previous file with comments | « cms/converters.py ('k') | tests/expected_output/relative/en/rel_path » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld