diff --git a/product/ERP5OOo/OOoTemplate.py b/product/ERP5OOo/OOoTemplate.py index b465ba15567aa7a67c209c607fa143525d7c6694..63ff321d087d816abb4ccc2abaf6289d0dad92d2 100644 --- a/product/ERP5OOo/OOoTemplate.py +++ b/product/ERP5OOo/OOoTemplate.py @@ -447,6 +447,7 @@ xmlns:config="http://openoffice.org/2001/config" office:version="1.0"> # It's an equivalent to DOTALL option passing (but sub can't get options parameter) text = re.sub('<\s*office:include_img\s+(.*?)\s*/\s*>(?s)', replaceIncludesImg, text) text = re.sub('<\s*office:include\s+(.*?)\s*/\s*>(?s)', replaceIncludes, text) + text = re.sub('<\s*office:include\s+(.*?)\s*/\s*>(?s)', replaceIncludes, text) return (text, attached_files_dict) # Proxy method to PageTemplate