Улучшение конвертирования html->fb2

This commit is contained in:
Book Pauk
2019-11-24 15:36:11 +07:00
parent 06fffdccc8
commit 53d9f5ddc6
3 changed files with 12 additions and 1 deletions

View File

@@ -102,6 +102,8 @@ class ConvertSamlib extends ConvertBase {
case 'h1':
case 'h2':
case 'h3':
case 'h4':
case 'h5':
if (inPara)
closeTag('p');
openTag('p');
@@ -173,6 +175,8 @@ class ConvertSamlib extends ConvertBase {
case 'h1':
case 'h2':
case 'h3':
case 'h4':
case 'h5':
closeTag('p');
bold = false;
break;