diff options
author | Stuart Rackham <srackham@methods.co.nz> | 2011-08-09 17:40:49 +1200 |
---|---|---|
committer | Stuart Rackham <srackham@methods.co.nz> | 2011-08-09 17:40:49 +1200 |
commit | 2056c9f79b3287995d32b70fd64809863c5c41d9 (patch) | |
tree | 5effaee455eae2bf2410b48fdfdd2a1989b8a25c /examples/website | |
parent | 75d4c3ca7bc84483d142b5ce79d4202f7d9296bb (diff) | |
download | asciidoc-py3-2056c9f79b3287995d32b70fd64809863c5c41d9.tar.gz |
Fixed: Some path attributes were processed as escaped Python strings which
could result in corrupted path names with backslash separated Windows path
names. Reported by Will. See:
http://groups.google.com/group/asciidoc/browse_thread/thread/e8f3938bcb4c8bb4/44d13113a35738ef
Diffstat (limited to 'examples/website')
-rw-r--r-- | examples/website/layout1.conf | 2 | ||||
-rw-r--r-- | examples/website/layout2.conf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/website/layout1.conf b/examples/website/layout1.conf index 71641d5..b56c0ff 100644 --- a/examples/website/layout1.conf +++ b/examples/website/layout1.conf @@ -74,7 +74,7 @@ endif::latexmath[] <div>»<a href="testasciidoc.html">Tests</a></div> <div>»<a href="CHANGELOG.html">ChangeLog</a></div> <div>»<a href="support.html">Support</a></div> - <div id="page-source">»<a href="{eval:os.path.basename('{infile}')}">Page Source</a></div> + <div id="page-source">»<a href="{eval:os.path.basename(r'{infile}')}">Page Source</a></div> </td> <td> <div id="layout-content"> diff --git a/examples/website/layout2.conf b/examples/website/layout2.conf index a3ee99f..f8806d3 100644 --- a/examples/website/layout2.conf +++ b/examples/website/layout2.conf @@ -77,7 +77,7 @@ endif::latexmath[] <div>»<a href="testasciidoc.html">Tests</a></div> <div>»<a href="CHANGELOG.html">ChangeLog</a></div> <div>»<a href="support.html">Support</a></div> - <div id="page-source">»<a href="{eval:os.path.basename('{infile}')}">Page Source</a></div> + <div id="page-source">»<a href="{eval:os.path.basename(r'{infile}')}">Page Source</a></div> </div> </div> <div id="layout-content-box"> |