Актуализирован конвертер для samlib.ru

This commit is contained in:
Book Pauk
2021-10-25 01:01:26 +07:00
parent 0f7655773a
commit 06e12930c7
2 changed files with 4 additions and 5 deletions

View File

@@ -210,11 +210,11 @@ class ConvertSamlib extends ConvertBase {
};
const onComment = (text) => {// eslint-disable-line no-unused-vars
if (text == '--------- Собственно произведение -------------') {
if (text.trim() == '--------- Собственно произведение -------------') {
inText = true;
textFound = true;
}
if (text == '-----------------------------------------------')
if (text.trim() == '-----------------------------------------------')
inText = false;
};