4 Turns definition list titles into anchors and all occourences
5 of the terms into links to there.
8 $ewiki_plugins["format_final"][] = "ewiki_format_final_deflistanchors";
9 function ewiki_format_final_deflistanchors(&$html) {
12 '#<dt>([_\w\s]+)</dt>#me',
13 '"<dt><a name=\"" . strtr($words[]="$1", " ", "_") . "\">$1</a></dt>"',
18 '#(?<!>)(' . implode("|", $words) . ')(?![<"])#e',
19 '"<a href=\"#" . strtr("$1", " ", "_") . "\">$1</a>"',