fix minor bug in references' links titles
This commit is contained in:
parent
cc06ccad78
commit
fcb1460859
@ -22,7 +22,7 @@ class markup {
|
||||
if (pcre_no_error($result)) {
|
||||
$reftitles_map = [];
|
||||
foreach ($matches[2] as $i => $refname) {
|
||||
$reftitles_map[$refname] = trim(strip_tags($matches[3][$i]));
|
||||
$reftitles_map[$refname] = trim(htmlspecialchars_decode(strip_tags($matches[3][$i])));
|
||||
}
|
||||
$span_opening_tag = '<span class="blog-footnote-ref">';
|
||||
$html = preg_replace($re, '<p class="blog-footnote-line" id="footnote_$2">'.$span_opening_tag.'$1</span> $3</p>', $html);
|
||||
|
Loading…
x
Reference in New Issue
Block a user