File tree 2 files changed +18
-4
lines changed 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -251,6 +251,9 @@ impl<'e> ManRenderer<'e> {
251
251
range. start
252
252
) ;
253
253
}
254
+ LinkType :: WikiLink { .. } => {
255
+ panic ! ( "wikilink unsupported" ) ;
256
+ }
254
257
}
255
258
}
256
259
Tag :: Image { .. } => {
@@ -260,7 +263,9 @@ impl<'e> ManRenderer<'e> {
260
263
| Tag :: MetadataBlock { .. }
261
264
| Tag :: DefinitionList
262
265
| Tag :: DefinitionListTitle
263
- | Tag :: DefinitionListDefinition => { }
266
+ | Tag :: DefinitionListDefinition
267
+ | Tag :: Superscript
268
+ | Tag :: Subscript => { }
264
269
}
265
270
}
266
271
Event :: End ( tag_end) => {
@@ -326,7 +331,9 @@ impl<'e> ManRenderer<'e> {
326
331
| TagEnd :: MetadataBlock ( ..)
327
332
| TagEnd :: DefinitionListDefinition
328
333
| TagEnd :: DefinitionListTitle
329
- | TagEnd :: DefinitionList => { }
334
+ | TagEnd :: DefinitionList
335
+ | TagEnd :: Superscript
336
+ | TagEnd :: Subscript => { }
330
337
}
331
338
}
332
339
Event :: Text ( t) => {
Original file line number Diff line number Diff line change @@ -217,6 +217,9 @@ impl<'e> TextRenderer<'e> {
217
217
range. start
218
218
) ;
219
219
}
220
+ LinkType :: WikiLink { .. } => {
221
+ panic ! ( "wikilink unsupported" ) ;
222
+ }
220
223
}
221
224
}
222
225
Tag :: Image { .. } => {
@@ -226,7 +229,9 @@ impl<'e> TextRenderer<'e> {
226
229
| Tag :: MetadataBlock { .. }
227
230
| Tag :: DefinitionList
228
231
| Tag :: DefinitionListTitle
229
- | Tag :: DefinitionListDefinition => { }
232
+ | Tag :: DefinitionListDefinition
233
+ | Tag :: Superscript
234
+ | Tag :: Subscript => { }
230
235
}
231
236
}
232
237
Event :: End ( tag_end) => match & tag_end {
@@ -283,7 +288,9 @@ impl<'e> TextRenderer<'e> {
283
288
| TagEnd :: DefinitionList
284
289
| TagEnd :: DefinitionListTitle
285
290
| TagEnd :: Image
286
- | TagEnd :: DefinitionListDefinition => { }
291
+ | TagEnd :: DefinitionListDefinition
292
+ | TagEnd :: Superscript
293
+ | TagEnd :: Subscript => { }
287
294
} ,
288
295
Event :: Text ( t) | Event :: Code ( t) => {
289
296
if wrap_text {
You can’t perform that action at this time.
0 commit comments