summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2011-05-01 15:41:27 +1200
committerStuart Rackham <srackham@methods.co.nz>2011-05-01 15:41:27 +1200
commitf678101a06dfe9717be5b901f48e2caef9cd258c (patch)
treee7daa0d1ac093fb5312512a2a6582fa0a2825fdf /tests
parent89a501ca8d3caa3459632979f728bd63c43a6dc8 (diff)
downloadasciidoc-f678101a06dfe9717be5b901f48e2caef9cd258c.tar.gz
- Don't pass header 'title' attribute to asciidoc filters.
- Pass implicit document specific conf files to asciidoc filters. Problems reported by and test case submitted by Simon Ruderich, see: http://groups.google.com/group/asciidoc/browse_thread/thread/5c792cbb395b753b
Diffstat (limited to 'tests')
-rw-r--r--tests/data/testcases.conf2
-rw-r--r--tests/data/testcases.txt17
2 files changed, 18 insertions, 1 deletions
diff --git a/tests/data/testcases.conf b/tests/data/testcases.conf
new file mode 100644
index 0000000..6bc039c
--- /dev/null
+++ b/tests/data/testcases.conf
@@ -0,0 +1,2 @@
+[replacements]
+test-replacement=TEST_REPLACEMENT
diff --git a/tests/data/testcases.txt b/tests/data/testcases.txt
index a28a81b..1819d6e 100644
--- a/tests/data/testcases.txt
+++ b/tests/data/testcases.txt
@@ -589,6 +589,21 @@ hard + 1min really hard taking the HR up to 160).
|=========================================================
+Table with embedded asciidoc
+----------------------------
+
+[cols="asciidoc"]
+|====
+|
+- a
+- b
+- c
+
+Test file specific configuration files work in asciidoc columns:
+
+test-replacement
+|====
+
Floating tables and images
--------------------------
.Simple table
@@ -708,7 +723,7 @@ audio::images/example.ogg[]
.Audio tag test
audio::images/example.ogg[]
-video::images/gizmo.ogv[width="200",options="nocontrols,autoplay"]
+video::images/gizmo.ogv[width=200,options="nocontrols,autoplay"]
.Example video
video::images/gizmo.ogv[]