Merge branch 'release/0.7.8b'
This commit is contained in:
@@ -6,6 +6,7 @@ export const versionHistory = [
|
||||
`
|
||||
<ul>
|
||||
<li>улучшение html-фильтров для сайтов</li>
|
||||
<li>исправления багов</li>
|
||||
</ul>
|
||||
`
|
||||
},
|
||||
|
||||
@@ -23,7 +23,7 @@ class ConvertFb2 extends ConvertBase {
|
||||
const right = data.indexOf('?>', left);
|
||||
if (right >= 0) {
|
||||
const head = data.slice(left, right + 2).toString();
|
||||
const m = head.match(/encoding="(.*)"/);
|
||||
const m = head.match(/encoding="(.*?)"/);
|
||||
if (m) {
|
||||
let encoding = m[1].toLowerCase();
|
||||
if (encoding != 'utf-8') {
|
||||
|
||||
Reference in New Issue
Block a user