From fc87b95a941849b348efaaad075134c831ae2f8d Mon Sep 17 00:00:00 2001 From: petko Date: Wed, 21 Aug 2024 07:01:08 +0000 Subject: Responsive skin remove Anchor rewriting. git-svn-id: svn://pmwiki.org/pmwiki/trunk@4796 524c5546-5005-0410-9a3e-e25e191bd360 --- pub/skins/pmwiki-responsive/skin.php | 14 -------------- 1 file changed, 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') ? '' : \"\", 'L')"); -} -else { - Markup('[[#','<[[','/(?>\\[\\[#([A-Za-z][-.:\\w]*))\\]\\]/', - "MarkupKeepTrackAnchors"); -} -function MarkupKeepTrackAnchors($m) { - return Keep(TrackAnchors($m[1]) ? '' : "", 'L'); -} - # in HTML5 "clear" is a style not an attribute Markup('[[<<]]','inline','/\\[\\[<<\\]\\]/',"
"); -- cgit v1.2.3