Escape doc root URLs
This commit is contained in:
parent
ce2b8a4944
commit
cca6cf3feb
1 changed files with 1 additions and 1 deletions
|
@ -1683,7 +1683,7 @@ impl<'a> Item<'a> {
|
||||||
format!("{}-{}", self.item.source.loline, self.item.source.hiline)
|
format!("{}-{}", self.item.source.loline, self.item.source.hiline)
|
||||||
};
|
};
|
||||||
Some(format!("{root}src/{krate}/{path}#{lines}",
|
Some(format!("{root}src/{krate}/{path}#{lines}",
|
||||||
root = root,
|
root = Escape(&root),
|
||||||
krate = krate,
|
krate = krate,
|
||||||
path = path,
|
path = path,
|
||||||
lines = lines))
|
lines = lines))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue