summaryrefslogtreecommitdiffstats
path: root/test/fixtures
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-19 22:39:23 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-19 22:39:23 +0100
commitc15399613cf3e589eb106d37221fae9c54002d74 (patch)
tree0ae3f7140eccbbbe0a3b156400179acec29a8e0e /test/fixtures
parentd6f7f1f4fb12ac1c24624aa8358f8149ec720622 (diff)
downloadgitbook-c15399613cf3e589eb106d37221fae9c54002d74.zip
gitbook-c15399613cf3e589eb106d37221fae9c54002d74.tar.gz
gitbook-c15399613cf3e589eb106d37221fae9c54002d74.tar.bz2
Normalize paths in html content
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/test1/SUMMARY.md2
-rw-r--r--test/fixtures/test1/sub/test1.md6
2 files changed, 7 insertions, 1 deletions
diff --git a/test/fixtures/test1/SUMMARY.md b/test/fixtures/test1/SUMMARY.md
index 4adaf3e..4a87f8c 100644
--- a/test/fixtures/test1/SUMMARY.md
+++ b/test/fixtures/test1/SUMMARY.md
@@ -1,6 +1,6 @@
# Summary
* [Chapter 1](test.md)
- * [Article 1](test1.md)
+ * [Article 1](sub/test1.md)
* [Chapter 2](test2.md)
diff --git a/test/fixtures/test1/sub/test1.md b/test/fixtures/test1/sub/test1.md
new file mode 100644
index 0000000..6a6e788
--- /dev/null
+++ b/test/fixtures/test1/sub/test1.md
@@ -0,0 +1,6 @@
+# This file is used to etst links transformations:
+
+This is a relative link [test](../intro.md).
+
+![image](../image.png)
+