Closed bert2 closed 4 years ago
This fixes a bug where mddox generates broken anchor links for generic types in the type index.
For the type OPPBuilder<TUserState, TTerm, TAfterString> mddox generates the following markdown:
OPPBuilder<TUserState, TTerm, TAfterString>
[OPPBuilder\<TUserState, TTerm, TAfterString\> Class](#oppbuilder\<tuserstate,-tterm,-tafterstring\>-class)
The correct markdown it should generate is:
[OPPBuilder\<TUserState, TTerm, TAfterString\> Class](#oppbuildertuserstate-tterm-tafterstring-class)
Unfortunately I can't prove it to you inside this PR, because anchor links are not supported here.
I assume the escaping logic is the same for BitBucket, so I adjusted both MarkdownWriters.
MarkdownWriter
This fixes a bug where mddox generates broken anchor links for generic types in the type index.
Example
For the type
OPPBuilder<TUserState, TTerm, TAfterString>
mddox generates the following markdown:The correct markdown it should generate is:
Unfortunately I can't prove it to you inside this PR, because anchor links are not supported here.
I assume the escaping logic is the same for BitBucket, so I adjusted both
MarkdownWriter
s.