mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
fix markup in "title" attribute for \citetitle{}
(closes SF patch #1054715; backporting to release23-maint branch)
This commit is contained in:
parent
7348bad5b5
commit
ed306292d6
1 changed files with 2 additions and 1 deletions
|
@ -389,9 +389,10 @@ sub do_cmd_citetitle{
|
|||
my $icon = get_link_icon($url);
|
||||
my $repl = '';
|
||||
if ($url) {
|
||||
my $titletext = strip_html_markup("$title");
|
||||
$repl = ("<em class=\"citetitle\"><a\n"
|
||||
. " href=\"$url\"\n"
|
||||
. " title=\"$title\"\n"
|
||||
. " title=\"$titletext\"\n"
|
||||
. " >$title$icon</a></em>");
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue