Permalink
Browse files

\section[center]

  • Loading branch information...
Dan Gildea
Dan Gildea committed Dec 15, 2018
1 parent 33f107b commit 1c5498b9acd98aab4b21e92d583d0b9b773e32e9
Showing with 2 additions and 2 deletions.
  1. +2 −2 latex2html.pin
@@ -8420,7 +8420,7 @@ sub make_section_heading {
# separate any invisible anchors or alignment, if this has not already been done
if (!($anchors)){ ($anchors,$text) = &extract_anchors($text) }
else {
$anchors =~ s/(ALIGN=\"\w*\")/$align = " $1";''/e;
$anchors =~ s/(class=\"\w*\")/$align = " $1";''/e;
$align = '' if ($HTML_VERSION < 2.2);
$anchors = &translate_commands($anchors) if ($anchors =~ /\\/);
}
@@ -11043,7 +11043,7 @@ sub do_cmd_section_helper {
local ($align, $dummy)=&get_next_optional_argument;
if (($align =~/^(left|right|center)$/i)&&($HTML_VERSION > 2.0)) {
$align = "class=\"$1\"";
$align = "class=\"".uc($1)."\"";
} elsif ($align) {
# data was meant to be a running-head !
$br_id = ++$global{'max_id'};

0 comments on commit 1c5498b

Please sign in to comment.