diff --git a/tutorial/Wmml.pmod b/tutorial/Wmml.pmod index 6b4a6a80e214cf563cde205661e3a10ea3aee942..ee25d737d16e85f5e96d54bedbdaf3dc09e11dc9 100644 --- a/tutorial/Wmml.pmod +++ b/tutorial/Wmml.pmod @@ -451,7 +451,7 @@ object(TocBuilder) toker; string name_to_link(string x) { - return replace(x,({"->","->"}),({".","."})); + return replace(x,({"->","->", "#"}),({".",".",""})); } string name_to_link_exp(string x)