From b20e7717ef1db36b9bddb00e0b893f6082da7d29 Mon Sep 17 00:00:00 2001 From: Martin van der Werff Date: Fri, 23 Jul 2021 07:57:58 +0200 Subject: [PATCH] XML file detection: ignore BOM (#449) Fix loading EPUBs containing XML files starting with the byte order mark (BOM). --- crengine/src/lvxml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crengine/src/lvxml.cpp b/crengine/src/lvxml.cpp index ec5e91bab..e43b0df9f 100644 --- a/crengine/src/lvxml.cpp +++ b/crengine/src/lvxml.cpp @@ -2910,7 +2910,7 @@ bool LVXMLParser::CheckFormat() res = true; // check that only whitespace chars before < for ( int i=0; i