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

Unified Diff: tests/expected_output/relative/en/rel_path_md

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 side-by-side diff with in-line comments
Download patch
Index: tests/expected_output/relative/en/rel_path_md
===================================================================
new file mode 100644
--- /dev/null
+++ b/tests/expected_output/relative/en/rel_path_md
@@ -0,0 +1,10 @@
+<p>Image link: <a href="../img/icon" hreflang="None"></a></p>
+<p>Link to external source: <a href="http://bar.de/">Bar</a></p>
+<p>Link to self: <a href="rel_path_md" hreflang="en"></a></p>
+<p>Link to self with extension: <a href="rel_path_md.md" hreflang="en"></a></p>
+<p>Relative link to local page: <a href="../en/sitemap"></a></p>
+<p>Absolute link to local page: <a href="sitemap"></a></p>
+<p>Relative link to different locale: <a href="../de/sitemap"></a></p>
+<p>Absolute link to diferent locale: <a href="../de/sitemap"></a></p>
+<p>Relative link to page in subfolder: <a href="../foo/bar"></a></p>
+<p>Absolute link to page in subfolder: <a href="../foo/bar"></a></p>

Powered by Google App Engine
This is Rietveld