Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ed30629

Browse files
committed
fix markup in "title" attribute for \citetitle{}
(closes SF patch #1054715; backporting to release23-maint branch)
1 parent 7348bad commit ed30629

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/perl/python.perl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,10 @@ sub do_cmd_citetitle{
389389
my $icon = get_link_icon($url);
390390
my $repl = '';
391391
if ($url) {
392+
my $titletext = strip_html_markup("$title");
392393
$repl = ("<em class=\"citetitle\"><a\n"
393394
. " href=\"$url\"\n"
394-
. " title=\"$title\"\n"
395+
. " title=\"$titletext\"\n"
395396
. " >$title$icon</a></em>");
396397
}
397398
else {

0 commit comments

Comments
 (0)