diff --git a/src/docgen/HtmlDoc.py b/src/docgen/HtmlDoc.py index 9a6ae8cf8..d7e07d66b 100644 --- a/src/docgen/HtmlDoc.py +++ b/src/docgen/HtmlDoc.py @@ -35,6 +35,8 @@ from intl import gettext as _ t_header_line_re = re.compile(r"(.*)(.*)(.*)", re.DOTALL|re.IGNORECASE|re.MULTILINE) +t_keyword_line_re = re.compile(r'(.*name="keywords"\s+content=")([^\"]*)(".*)$', + re.DOTALL|re.IGNORECASE|re.MULTILINE) #------------------------------------------------------------------------ # @@ -45,7 +47,8 @@ _top = [ '\n', '\n', '\n', - ' \n', + ' \n', + ' \n', ' \n', ' \n', '