about summary refs log tree commit diff
path: root/src/rustdoc
diff options
context:
space:
mode:
authorMichael Sullivan <sully@msully.net>2012-07-12 15:03:33 -0700
committerMichael Sullivan <sully@msully.net>2012-07-13 17:03:49 -0700
commit985b52be6df504ce6dcef29df61ea20ab9c9323f (patch)
treea39c70608818cb99dce14da30f67fa9aff9f0e58 /src/rustdoc
parente4de1602226315fcb7ee3b1d7f925b5c361f001d (diff)
downloadrust-985b52be6df504ce6dcef29df61ea20ab9c9323f.tar.gz
rust-985b52be6df504ce6dcef29df61ea20ab9c9323f.zip
Support prefix notation for vstore strings. Closes #2906.
Diffstat (limited to 'src/rustdoc')
-rw-r--r--src/rustdoc/markdown_index_pass.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustdoc/markdown_index_pass.rs b/src/rustdoc/markdown_index_pass.rs
index 6532f572c6d..52dc7cabee0 100644
--- a/src/rustdoc/markdown_index_pass.rs
+++ b/src/rustdoc/markdown_index_pass.rs
@@ -116,7 +116,7 @@ fn pandoc_header_id(header: str) -> str {
         let s = str::replace(s, "]", "");
         let s = str::replace(s, "(", "");
         let s = str::replace(s, ")", "");
-        let s = str::replace(s, "@", "");
+        let s = str::replace(s, "@", "/~"/~);
         let s = str::replace(s, "~", "");
         let s = str::replace(s, "/", "");
         let s = str::replace(s, ":", "");