From: Steve Hancock Date: Thu, 7 Nov 2024 00:09:40 +0000 (-0800) Subject: reformat X-Git-Tag: 20240903.07~23 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a2e5d148396cd7d9e3ef3d17d2d6c0bd5b28b197;p=perltidy.git reformat --- diff --git a/lib/Perl/Tidy/HtmlWriter.pm b/lib/Perl/Tidy/HtmlWriter.pm index 6722fadd..5738ee66 100644 --- a/lib/Perl/Tidy/HtmlWriter.pm +++ b/lib/Perl/Tidy/HtmlWriter.pm @@ -123,7 +123,7 @@ sub new { # pre section goes directly to the output stream $html_pre_fh = $html_fh; - $html_pre_fh->print( <<"PRE_END"); + $html_pre_fh->print(<<"PRE_END");
 PRE_END
     }
@@ -252,7 +252,7 @@ EOM
         # but just quit if we hit EOF without any other entries
         # in this case, there will be no toc
         return if ( $type eq 'EOF' );
-        $html_toc_fh->print( <<"TOC_END");
+        $html_toc_fh->print(<<"TOC_END");
 
 
 
 TOC_END
@@ -1176,7 +1176,7 @@ sub close_html_file {
     # Path 1: finish up if in -pre mode
     # ---------------------------------
     if ( $rOpts->{'html-pre-only'} ) {
-        $html_fh->print( <<"PRE_END");
+        $html_fh->print(<<"PRE_END");
 
PRE_END $html_fh->close() @@ -1216,12 +1216,12 @@ PRE_END # or use css embedded in this file else { - $fh_css->print( <<'ENDCSS'); + $fh_css->print(<<'ENDCSS'); ENDCSS @@ -1249,7 +1249,7 @@ ENDCSS my $date = localtime; $timestamp = "on $date"; } - $html_fh->print( <<"HTML_START"); + $html_fh->print(<<"HTML_START"); @@ -1261,21 +1261,21 @@ HTML_START # output the css, if used if ($css_string) { $html_fh->print($css_string); - $html_fh->print( <<"ENDCSS"); + $html_fh->print(<<"ENDCSS"); ENDCSS } else { - $html_fh->print( <<"HTML_START"); + $html_fh->print(<<"HTML_START"); {'html-color-background'}\" text=\"$rOpts->{'html-color-punctuation'}\"> HTML_START } $html_fh->print("\n"); - $html_fh->print( <<"EOM"); + $html_fh->print(<<"EOM");

$title

EOM @@ -1290,7 +1290,7 @@ EOM # copy the pre section(s) my $fname_comment = $input_file; $fname_comment =~ s/--+/-/g; # protect HTML comment tags - $html_fh->print( <<"END_PRE"); + $html_fh->print(<<"END_PRE");
@@ -1301,7 +1301,7 @@ END_PRE
     }
 
     # and finish the html page
-    $html_fh->print( <<"HTML_END");
+    $html_fh->print(<<"HTML_END");