summaryrefslogtreecommitdiffstats
path: root/test/fixtures/test4
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-02-12 11:40:17 +0100
committerSamy Pessé <samypesse@gmail.com>2015-02-12 11:40:17 +0100
commitd9da4e9a08e8550031f46ec30b0cdbdffe395eee (patch)
tree29b7bb18dfda6c6d2d06622a58e8a1ae34faf48f /test/fixtures/test4
parent1d0f6370add0f57f3c549826eb87a313b7df33cc (diff)
downloadgitbook-d9da4e9a08e8550031f46ec30b0cdbdffe395eee.zip
gitbook-d9da4e9a08e8550031f46ec30b0cdbdffe395eee.tar.gz
gitbook-d9da4e9a08e8550031f46ec30b0cdbdffe395eee.tar.bz2
Fix GitbookIO/plugin-youtube#2: hash remote image for local path
Diffstat (limited to 'test/fixtures/test4')
-rw-r--r--test/fixtures/test4/README.md4
-rw-r--r--test/fixtures/test4/sub/PAGE.md4
2 files changed, 6 insertions, 2 deletions
diff --git a/test/fixtures/test4/README.md b/test/fixtures/test4/README.md
index 19892a5..d73be69 100644
--- a/test/fixtures/test4/README.md
+++ b/test/fixtures/test4/README.md
@@ -5,3 +5,7 @@ A description
![test image to be converted](./test.svg)
![test url](http://upload.wikimedia.org/wikipedia/commons/b/b0/NewTux.svg)
![test image to be converted, second use](./test.svg)
+
+# Test with youtube videos that have the same filename:
+![youtube1](http://img.youtube.com/vi/9bZkp7q19f0/0.jpg)
+![youtube2](http://img.youtube.com/vi/IkV2HQLAKHY/0.jpg)
diff --git a/test/fixtures/test4/sub/PAGE.md b/test/fixtures/test4/sub/PAGE.md
index 6de478e..a98a942 100644
--- a/test/fixtures/test4/sub/PAGE.md
+++ b/test/fixtures/test4/sub/PAGE.md
@@ -8,8 +8,8 @@
## Inline svg
{% html %}
-<svg width="400" height="110">
- <rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:3;stroke:rgb(0,0,0)">
+<svg xmlns="http://www.w3.org/2000/svg">
+ <path d="M97.008198003228,6.103238498249268A97.2,97.2 0 0,1 87.9491894996971,41.385747140125076L54.289623147961166,25.546757493904366A60,60 0 0,0 59.88160370569629,3.7674311717588074Z"></path>
</svg>
{% endhtml %}