Skip to content
Snippets Groups Projects
Commit 5f80f0fb authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

name_to_link() now handles preprocessor options.

Rev: tutorial/Wmml.pmod:1.17
parent 166b8194
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment