From 4b83959939a2c4ad3a44322d1e27a27e7c5a91d8 Mon Sep 17 00:00:00 2001
From: Reinhold Kainhofer <reinhold@kainhofer.com>
Date: Mon, 24 Mar 2008 20:09:34 +0100
Subject: [PATCH] texi2html: The <body> tag now also contains some attributes

TODO: Make sure the attributes are preserved (in particular,
the language of the file)

Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
---
 buildscripts/langdefs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildscripts/langdefs.py b/buildscripts/langdefs.py
index 4c9a0a7d8b..13415d0e47 100644
--- a/buildscripts/langdefs.py
+++ b/buildscripts/langdefs.py
@@ -34,7 +34,7 @@ class LanguageDef:
 
 site = LanguageDef ('en', 'English', webext='')
 
-html_page_body = re.compile ('</?body>', re.M | re.I)
+html_page_body = re.compile ('</?body.*>', re.M | re.I)
 french_html_typo_rules = ((' :', '&nbsp;:'),
                           (' ;', '&nbsp;;'),
                           (' ?', '&thinsp;?'),
-- 
2.39.5