[FFmpeg-cvslog] texi2html: remove stray \n

Luca Barbato git at videolan.org
Mon Nov 14 00:43:06 CET 2011


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Sun Nov 13 12:25:29 2011 +0100| [58b68d6b36d4c88f9250fd4f57f87fea41cc5e10] | committer: Luca Barbato

texi2html: remove stray \n

Single-quoted strings are printed verbatim in perl.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=58b68d6b36d4c88f9250fd4f57f87fea41cc5e10
---

 doc/t2h.init |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/doc/t2h.init b/doc/t2h.init
index d464aa1..59a5ed8 100644
--- a/doc/t2h.init
+++ b/doc/t2h.init
@@ -5,11 +5,13 @@ sub Libav_end_section($$)
 }
 
 $EXTRA_HEAD =
-    '<link rel="icon" href="favicon.png" type="image/png" />\n' .
-    '<link rel="stylesheet" type="text/css" href="default.css" />\n';
+'<link rel="icon" href="favicon.png" type="image/png" />
+<link rel="stylesheet" type="text/css" href="default.css" />
+';
 
-$AFTER_BODY_OPEN = '<div id="container">'.
-                   '<div id="body">';
+$AFTER_BODY_OPEN =
+'<div id="container">
+<div id="body">';
 
 $PRE_BODY_CLOSE = '</div></div>';
 
@@ -20,9 +22,9 @@ $print_page_foot = \&Libav_print_page_foot;
 sub Libav_print_page_foot($$)
 {
     my $fh = shift;
-    print $fh '<div id="footer">\n';
+    print $fh '<div id="footer">' . "\n";
     T2H_DEFAULT_print_page_foot($fh);
-    print $fh '</div>\n';
+    print $fh "</div>\n";
 }
 
 $print_page_head = \&Libav_print_page_head;



More information about the ffmpeg-cvslog mailing list