From f5924fbc9630b9e9dd8bd82d5155102b54169525 Mon Sep 17 00:00:00 2001 From: umorigu Date: Sun, 9 Feb 2020 09:21:33 +0900 Subject: [PATCH] BugTrack/2499 Set Heading anchor text "user-select:none;" --- lib/convert_html.php | 2 +- plugin/aname.inc.php | 18 +++++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/lib/convert_html.php b/lib/convert_html.php index 05a88cc..0f4c42b 100644 --- a/lib/convert_html.php +++ b/lib/convert_html.php @@ -993,7 +993,7 @@ class Body extends Element $id = & $autoid; $anchor = ''; } else { - $anchor = ' &aname(' . $id . ',super,full){' . $_symbol_anchor . '};'; + $anchor = ' &aname(' . $id . ',super,full,nouserselect){' . $_symbol_anchor . '};'; } $text = ' ' . $text; diff --git a/plugin/aname.inc.php b/plugin/aname.inc.php index 56638af..cbc583b 100644 --- a/plugin/aname.inc.php +++ b/plugin/aname.inc.php @@ -1,8 +1,8 @@ ' . + return '' . $body . ''; } - -- 2.11.0