@@ -221,7 +221,7 @@ multi write-type-source($doc) {
221
221
);
222
222
$ pod . content. push : pod-link(
223
223
' Full-size type graph image as SVG' ,
224
- " /images/type-graph-$ podname .svg" ,
224
+ " /images/type-graph-{ uri_escape $ podname } .svg" ,
225
225
);
226
226
227
227
my @ mro = $ type . mro;
@@ -233,7 +233,7 @@ multi write-type-source($doc) {
233
233
pod-heading(" Methods supplied by role $ r" ),
234
234
pod-block(
235
235
" $ podname does role " ,
236
- pod-link($ r . name , " /type/$ r " ),
236
+ pod-link($ r . name , " /type/{ uri_escape ~ $ r } " ),
237
237
" , which provides the following methods:" ,
238
238
),
239
239
% methods-by-type {$ r }. list,
@@ -245,7 +245,7 @@ multi write-type-source($doc) {
245
245
pod-heading(" Methods supplied by class $ c" ),
246
246
pod-block(
247
247
" $ podname inherits from class " ,
248
- pod-link($ c . name , " /type/$ c " ),
248
+ pod-link($ c . name , " /type/{ uri_escape ~ $ c } " ),
249
249
" , which provides the following methods:" ,
250
250
),
251
251
% methods-by-type {$ c }. list,
@@ -256,9 +256,9 @@ multi write-type-source($doc) {
256
256
pod-heading(" Methods supplied by role $ r" ),
257
257
pod-block(
258
258
" $ podname inherits from class " ,
259
- pod-link($ c . name , " /type/$ c " ),
259
+ pod-link($ c . name , " /type/{ uri_escape ~ $ c } " ),
260
260
" , which does role " ,
261
- pod-link($ r . name , " /type/$ r " ),
261
+ pod-link($ r . name , " /type/{ uri_escape ~ $ r } " ),
262
262
" , which provides the following methods:" ,
263
263
),
264
264
% methods-by-type {$ r }. list,
0 commit comments