diff -uNr a/mp-wp/manifest b/mp-wp/manifest --- a/mp-wp/manifest fddc8c4955ac87a3eec37c39c31a034296850c0647035ffd55e5f0a4e323f6dfb7fbbf6a6dd4aa66813020247accd6ea687dba8be9cf4915d1350a251e9a6c7d +++ b/mp-wp/manifest 3bf2142983c5b71a327926c55f1ffd44cb7bf95d08247f0eba0801c9c964e1d8c51a21b80ebba7a101a905a187eca047d7fa058e493387f0fc2dbb4b1441fabf @@ -8,3 +8,4 @@ 624752 mp-wp_remove-textselectionjs-pop3-etc jfw Remove the unreliable JS-based selection, posting by POP3 login, and a stray .php.orig file. Neutralize and comment the example pingback updater. 624752 mp-wp_svg-screenshots-and-errorreporting jfw Allow .svg extensions in theme screenshot search. Don't clobber the user's errorreporting level without WP_DEBUG. 624752 mp-wp_serverside-selection jfw Add server-side text selection to example htaccess and themes, roughly as seen in http://trilema.com/2019/proper-html-linking-the-crisis-the-solution-the-resolution-conclusion/ (xmlrpc.php changes not included) +624752 mp-wp_footnote-link-tweaks jfw Avoid turning double-quotes into backquotes in footnote tooltips. Expand the link part of footnote identifiers to cover the pre_identifier and post_identifier strings, for a larger clickable area. diff -uNr a/mp-wp/wp-content/plugins/footnotes.php b/mp-wp/wp-content/plugins/footnotes.php --- a/mp-wp/wp-content/plugins/footnotes.php 8e2449d4ac26ea05f080cec9d025ef8a8585221ee30da439b37ff1578d084e1c63cbe3f89e3d6868c19d0fa9f73a9af99b444251e7a854f6c87e316628d94859 +++ b/mp-wp/wp-content/plugins/footnotes.php 83093284c8025d21b157a82f00ff3b07774d968deddbba9f338ef9418ad04fba03ef1b6b137db6cef222f72e7727478f7d97ca5c6fb3d6cd1b7230283ce1d707 @@ -206,11 +206,8 @@ $id_id = "identifier_".$key."_".$post->ID; $id_num = ($style == 'decimal') ? $value['use_footnote']+$start_number : $this->convert_num($value['use_footnote']+$start_number, $style, count($footnotes)); $id_href = ( ($use_full_link) ? get_permalink($post->ID) : '' ) . "#footnote_".$value['use_footnote']."_".$post->ID; - -// $id_title = str_replace('"', """, htmlentities(strip_tags($value['text']), ENT_QUOTES, 'UTF-8')); - - $id_title = str_replace('"', '`', strip_tags($value['text'])); - $id_replace = $this->current_options['pre_identifier'].''.$id_num.''.$this->current_options['post_identifier']; + $id_title = str_replace('"', '"', strip_tags($value['text'])); + $id_replace = ''.$this->current_options['pre_identifier'].$id_num.$this->current_options['post_identifier'].''; if ($this->current_options['superscript']) $id_replace = ''.$id_replace.''; if ($display) $data = substr_replace($data, $id_replace, strpos($data,$value[0]),strlen($value[0])); else $data = substr_replace($data, '', strpos($data,$value[0]),strlen($value[0]));