diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-08-21 07:01:08 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-08-21 07:01:08 +0000 |
commit | fc87b95a941849b348efaaad075134c831ae2f8d (patch) | |
tree | 9e32511c00b1b9dbd2da066519f17734a593026d | |
parent | 574209a000543025023494bae0afff5f53c752e9 (diff) | |
download | pmwiki.svn-fc87b95a941849b348efaaad075134c831ae2f8d.tar.bz2 |
Responsive skin remove Anchor rewriting.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@4796 524c5546-5005-0410-9a3e-e25e191bd360
-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' />"); |