You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by jo...@apache.org on 2012/01/03 21:29:06 UTC

svn commit: r1226939 - /incubator/ooo/ooo-site/trunk/lib/view.pm

Author: joes
Date: Tue Jan  3 20:29:05 2012
New Revision: 1226939

URL: http://svn.apache.org/viewvc?rev=1226939&view=rev
Log:
head sometimes has cruft

Modified:
    incubator/ooo/ooo-site/trunk/lib/view.pm

Modified: incubator/ooo/ooo-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/lib/view.pm?rev=1226939&r1=1226938&r2=1226939&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/lib/view.pm (original)
+++ incubator/ooo/ooo-site/trunk/lib/view.pm Tue Jan  3 20:29:05 2012
@@ -117,7 +117,7 @@ sub html_page {
 	}
     }
 
-    if ($args{content} =~ m!<head>(.*?)</head>(?:.*?<body(.*?)>)?(.*?)(?:</body>|\Z)!si) {
+    if ($args{content} =~ m!<head.*?>(.*?)</head>(?:.*?<body(.*?)>)?(.*?)(?:</body>|\Z)!si) {
         @args{qw/header bodytag content/} = ($1, $2, $3);
     }