diff options
Diffstat (limited to 'pub/skins/pmwiki-responsive/skin.php')
-rw-r--r-- | pub/skins/pmwiki-responsive/skin.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/pub/skins/pmwiki-responsive/skin.php b/pub/skins/pmwiki-responsive/skin.php index d7b788f1..52e6c389 100644 --- a/pub/skins/pmwiki-responsive/skin.php +++ b/pub/skins/pmwiki-responsive/skin.php @@ -26,20 +26,6 @@ SDV($EnableDarkThemeToggle, 3); # For (:searchbox:), valid semantic HTML5 $SearchBoxInputType = "search"; -# remove deprecated "name=" parameter from anchor tags -if($GLOBALS['VersionNum'] < 2002056) { - # we want the skin to also work with older PmWiki versions - Markup('[[#','<[[','/(?>\\[\\[#([A-Za-z][-.:\\w]*))\\]\\]/e', - "Keep(TrackAnchors('$1') ? '' : \"<a id='$1'></a>\", 'L')"); -} -else { - Markup('[[#','<[[','/(?>\\[\\[#([A-Za-z][-.:\\w]*))\\]\\]/', - "MarkupKeepTrackAnchors"); -} -function MarkupKeepTrackAnchors($m) { - return Keep(TrackAnchors($m[1]) ? '' : "<a id='{$m[1]}'></a>", 'L'); -} - # in HTML5 "clear" is a style not an attribute Markup('[[<<]]','inline','/\\[\\[<<\\]\\]/',"<br class='clearboth' />"); |