From f678101a06dfe9717be5b901f48e2caef9cd258c Mon Sep 17 00:00:00 2001 From: Stuart Rackham Date: Sun, 1 May 2011 15:41:27 +1200 Subject: - 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 --- tests/data/testcases.conf | 2 ++ tests/data/testcases.txt | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tests/data/testcases.conf (limited to 'tests') 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[] -- cgit v1.2.1