Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Make doc parser use a/@id instead of a/@name.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Feb 1, 2011
1 parent cd1dac5 commit 31d0d46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/parse.php
Expand Up @@ -327,11 +327,11 @@ function parse($filepath) {
// clip "call"
$entry["call"] = substr($entry["call"], strpos($entry["call"], "("));
$result[] = interpolate(
"### <a name=\"#{hash}\" href=\"#{link}\" title=\"View in source\">`" .
"### <a id=\"#{hash}\" href=\"#{link}\" title=\"View in source\">`" .
"#{member}#{call}`</a>\n#{desc}\n[&#9650;][1]", $entry);
} else {
$result[] = interpolate(
"### <a name=\"#{hash}\" href=\"#{link}\" title=\"View in source\">`" .
"### <a id=\"#{hash}\" href=\"#{link}\" title=\"View in source\">`" .
"#{member}#{separator}#{call}`</a>\n#{desc}\n[&#9650;][1]", $entry);
}
}
Expand Down

0 comments on commit 31d0d46

Please sign in to comment.