The HTML in the Preview tab is different from the HTML that is returned in the getHTML() method.
Two adjacent lines in Preview are in the same \<p> tag, and the getHTML() method returns each line in a separate \<p> tag.
To Reproduce
Steps to reproduce the behavior:
Type 'first line' in the MD editor
press Enter to break the line
Type 'second line' int the MD editor
Expected behavior
The getHTML() method should return the same HTML as in the preview tab. That is, two adjacent lines must be in the same \<p> tag, and not in different ones
Screenshots
getHTML() returns two different \<p> tags:
There is only one \<p> tag in the preview tab:
Desktop (please complete the following information):
Describe the bug
The HTML in the Preview tab is different from the HTML that is returned in the getHTML() method. Two adjacent lines in Preview are in the same \<p> tag, and the getHTML() method returns each line in a separate \<p> tag.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The getHTML() method should return the same HTML as in the preview tab. That is, two adjacent lines must be in the same \<p> tag, and not in different ones
Screenshots
getHTML() returns two different \<p> tags:
There is only one \<p> tag in the preview tab:
![image](https://github.com/nhn/tui.editor/assets/48029980/74366bdd-b7d7-4490-b735-7806f1bb5c3a)
Desktop (please complete the following information):