ONLYOFFICE / DesktopEditors

An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents
https://www.onlyoffice.com
Other
2.94k stars 332 forks source link

HTML file not properly converted to docx #1728

Open Bulletura opened 3 days ago

Bulletura commented 3 days ago

This issue is unique.

Operating System

Linux (DEB package)

Version information

8.2.1

Expected Behavior

When i open an .html file, i should not see HTML tags but only formatted text

Actual Behavior

When i open an .html file, i see the full html code

Reproduction Steps

1) Creating html file with this content :

<div>
  <h2>HEADER TEST</h2>
  <p>Test</p>
</div>

2) Open it with OnlyOffice

Somehow if there is some text before the 'div' tag, it work fine :

test
<div>
  <h2>HEADER TEST</h2>
  <p>Test</p>
</div>

Additional information

No response