diff options
author | Stuart Rackham <srackham@methods.co.nz> | 2011-01-27 10:28:44 +1300 |
---|---|---|
committer | Stuart Rackham <srackham@methods.co.nz> | 2011-01-27 10:28:44 +1300 |
commit | 7b0c5419d5d7abb2a255b95d648f7aa261289abe (patch) | |
tree | 348b076221c44d35ea93c61824f68df2b6a23a5f | |
parent | f15fc9e5bb62159b767b9a6628a39a547f14a795 (diff) | |
download | asciidoc-7b0c5419d5d7abb2a255b95d648f7aa261289abe.tar.gz |
FIXED: Setting quotes configuration entries using document attributes
fails if the attribute is not in the document header. See:
http://groups.google.com/group/asciidoc/browse_thread/thread/a1dd0562dee8b939
-rwxr-xr-x | asciidoc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/asciidoc.py b/asciidoc.py index 084f32e..90725c4 100755 --- a/asciidoc.py +++ b/asciidoc.py @@ -479,6 +479,7 @@ def subs_quotes(text): else: lq = rq = q tag = config.quotes[q] + if not tag: continue # Unconstrained quotes prefix the tag name with a hash. if tag[0] == '#': tag = tag[1:] |