diff options
author | Fred Drake <fdrake@acm.org> | 2004-11-04 03:23:04 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2004-11-04 03:23:04 (GMT) |
commit | ed306292d68fe8ca3fb48f31129fe68229741519 (patch) | |
tree | cd5a8b11bcc41dbab4b30c8d84f2f7c52e757cd7 | |
parent | 7348bad5b5a8464be1eed04745d77b4f3c8edd76 (diff) | |
download | cpython-ed306292d68fe8ca3fb48f31129fe68229741519.zip cpython-ed306292d68fe8ca3fb48f31129fe68229741519.tar.gz cpython-ed306292d68fe8ca3fb48f31129fe68229741519.tar.bz2 |
fix markup in "title" attribute for \citetitle{}
(closes SF patch #1054715; backporting to release23-maint branch)
-rw-r--r-- | Doc/perl/python.perl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index c7f2ffb..14ce958 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -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 { |