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

Skip to content

Commit d52879c

Browse files
committed
do_cmd_rfc(): Simplify the generated markup.
1 parent 52ea0ce commit d52879c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/perl/python.perl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ sub do_cmd_rfc{
229229
# Save the reference
230230
my $nstr = gen_index_id("RFC!RFC $rfcnumber", '');
231231
$index{$nstr} .= make_half_href("$CURRENT_FILE#$id");
232-
return ("<span class=rfc><a name=\"$id\"\nhref=\"$href\">"
233-
. "RFC $rfcnumber</a></span>" .$_);
232+
return ("<a class=rfc name=\"$id\"\nhref=\"$href\">RFC $rfcnumber</a>"
233+
. $_);
234234
}
235235

236236
sub do_cmd_deprecated{

0 commit comments

Comments
 (0)