summaryrefslogtreecommitdiff
path: root/examples/website
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2011-08-09 17:40:49 +1200
committerStuart Rackham <srackham@methods.co.nz>2011-08-09 17:40:49 +1200
commit2056c9f79b3287995d32b70fd64809863c5c41d9 (patch)
tree5effaee455eae2bf2410b48fdfdd2a1989b8a25c /examples/website
parent75d4c3ca7bc84483d142b5ce79d4202f7d9296bb (diff)
downloadasciidoc-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.conf2
-rw-r--r--examples/website/layout2.conf2
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>&#187;<a href="testasciidoc.html">Tests</a></div>
<div>&#187;<a href="CHANGELOG.html">ChangeLog</a></div>
<div>&#187;<a href="support.html">Support</a></div>
- <div id="page-source">&#187;<a href="{eval:os.path.basename('{infile}')}">Page&nbsp;Source</a></div>
+ <div id="page-source">&#187;<a href="{eval:os.path.basename(r'{infile}')}">Page&nbsp;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>&#187;<a href="testasciidoc.html">Tests</a></div>
<div>&#187;<a href="CHANGELOG.html">ChangeLog</a></div>
<div>&#187;<a href="support.html">Support</a></div>
- <div id="page-source">&#187;<a href="{eval:os.path.basename('{infile}')}">Page&nbsp;Source</a></div>
+ <div id="page-source">&#187;<a href="{eval:os.path.basename(r'{infile}')}">Page&nbsp;Source</a></div>
</div>
</div>
<div id="layout-content-box">