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

Unified 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: Address comments on PS1 Created Nov. 21, 2018, 4:29 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/de/rel_path
===================================================================
--- a/tests/expected_output/relative/de/rel_path
+++ b/tests/expected_output/relative/de/rel_path
@@ -1,4 +1,15 @@
+{{ head|safe }}
Vasily Kuznetsov 2018/11/21 23:30:47 So what's happening here is that split_head_body()
rhowell 2018/12/19 02:33:30 Done.
+ <title>Page Title</title>
+ <link rel="stylesheet" href="../dist/css/main.min.css">
+ <base href="https://www.example.com/news/index.html">
+ <script src="../scripts/myscript.js"></script>
+
+
+
+<!DOCTYPE html>
<html>
+
+
<body>
Simple TS with default: Übersetzen.
Same TS with no default: Übersetzen.
@@ -7,6 +18,9 @@
Link to a non-translatable page: <a href="../en/sitemap" hreflang="en">Seitenverzeichnis</a>.
Entity escaping in links: <a href="http://foo.com/?a&amp;b">Bar</a>.
Image link: <img src="../img/icon"></img>
+Iframe link: <iframe src="../default.asp"></iframe>
+Script link: <script src="myscripts.js"></script>
+Input link: <input type="image" src="../img/submit.gif" alt="Submit">
Link to external source: <a href="http://bar.de/">Bar</a>
Link to self: <a href="rel_path" hreflang="de">
Link to self with extension: <a href="rel_path.html" hreflang="de">
@@ -16,5 +30,6 @@
Absolute link to diferent locale: <a href="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