Skip to content
Snippets Groups Projects
Commit fffb6108 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

dead links unlinked now...

Rev: tutorial/html.pike:1.10
parent 0435e974
No related branches found
No related tags found
No related merge requests found
...@@ -324,9 +324,12 @@ SGML convert(SGML data) ...@@ -324,9 +324,12 @@ SGML convert(SGML data)
if(!link_to_page[to]) if(!link_to_page[to])
{ {
werror("Warning: Cannot find link "+to+" (near "+data->location()+")\n"); werror("Warning: Cannot find link "+to+" (near "+data->location()+")\n");
ret+=data->data;
continue;
}else{
data->params->href=mklinkname(link_to_page[to])+"#"+to;
break;
} }
data->params->href=mklinkname(link_to_page[to])+"#"+to;
break;
} }
case "ref": case "ref":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment