scribble HTML rendering: unreserved-encode "on this page" links
In other words, replace "(...)" with "%28...%29" in links. original commit: 7c0ab55cbccd4e1b257d7b47a3bc2637328280ec
This commit is contained in:
parent
378d6ee9c9
commit
03c6b006e8
|
@ -639,13 +639,14 @@
|
|||
`((a ([href
|
||||
,(format
|
||||
"#~a"
|
||||
(anchor-name
|
||||
(add-tag-prefixes
|
||||
(tag-key (if (part? p)
|
||||
(car (part-tags/nonempty p))
|
||||
(target-element-tag p))
|
||||
ri)
|
||||
prefixes)))]
|
||||
(uri-unreserved-encode
|
||||
(anchor-name
|
||||
(add-tag-prefixes
|
||||
(tag-key (if (part? p)
|
||||
(car (part-tags/nonempty p))
|
||||
(target-element-tag p))
|
||||
ri)
|
||||
prefixes))))]
|
||||
[class
|
||||
,(cond
|
||||
[(part? p) "tocsubseclink"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user