mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fixed a bug with the definition of encoding in html
This commit is contained in:
@ -108,7 +108,7 @@ namespace NSStringFinder
|
||||
|
||||
wsEndingValue.pop_back();
|
||||
|
||||
wsRegexValue += L"\\s*(.[^" + wsEndingValue + L"]*)\\s*[" + wsEndingValue + L"]?";
|
||||
wsRegexValue += L"\\s*[" + wsEndingValue + L"]?(.[^" + wsEndingValue + L"]*)\\s*[" + wsEndingValue + L"]?";
|
||||
}
|
||||
else
|
||||
wsRegexValue += L"\\s*(.*)[\\n|\\r]?";
|
||||
|
||||
Reference in New Issue
Block a user