[GH-ISSUE #4545] [Bug] format of the article copied from HTML page is not displayed correctly #2044

Open
opened 2026-03-23 21:19:11 +00:00 by mirror · 1 comment
Owner

Originally created by @abcamus on GitHub (Jan 29, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4545

Bug Description

copy an article from a network page, "https://www.marxists.org/chinese/maozedong/marxist.org-chinese-mao-193708.htm" .eg
The text is not readable:

  1. paragraph is not recognised, the text is a whole single block.
  2. alignment of the headers is not generated.
  3. the ref list format is wrong.
  4. the article will be copied twicewhich is not as expected.
  5. a scroll bar is better displayed since the article is very long.

How to Reproduce

open the link "https://www.marxists.org/chinese/maozedong/marxist.org-chinese-mao-193708.htm", then copy text to an appflowy page.

Expected Behavior

a reader-friendly display as the original network page.

Operating System

Windows 11

AppFlowy Version(s)

0.4.3

Screenshots

format issue 1 and 2:
image
compared with the source page:
image

format issue 3:
image
the source page:
image

format issue 4:
image

Additional Context

No response

Originally created by @abcamus on GitHub (Jan 29, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4545 ### Bug Description copy an article from a network page, "https://www.marxists.org/chinese/maozedong/marxist.org-chinese-mao-193708.htm" .eg The text is not readable: 1. paragraph is not recognised, the text is a whole single block. 2. alignment of the headers is not generated. 3. the ref list format is wrong. 4. the article will be copied twicewhich is not as expected. 5. a scroll bar is better displayed since the article is very long. ### How to Reproduce open the link "https://www.marxists.org/chinese/maozedong/marxist.org-chinese-mao-193708.htm", then copy text to an appflowy page. ### Expected Behavior a reader-friendly display as the original network page. ### Operating System Windows 11 ### AppFlowy Version(s) 0.4.3 ### Screenshots **format issue 1 and 2:** ![image](https://github.com/AppFlowy-IO/AppFlowy/assets/17241681/25072fcc-8eaa-404f-993e-1c2ac9fdb24b) compared with the source page: ![image](https://github.com/AppFlowy-IO/AppFlowy/assets/17241681/289fb18a-2db7-4c17-8706-b5bef2e17dda) **format issue 3:** ![image](https://github.com/AppFlowy-IO/AppFlowy/assets/17241681/49de9873-75de-47d6-b468-e1bb7b30b618) the source page: ![image](https://github.com/AppFlowy-IO/AppFlowy/assets/17241681/5be4f64e-82a4-493b-9e47-7bf09651bc11) **format issue 4:** ![image](https://github.com/AppFlowy-IO/AppFlowy/assets/17241681/6d017617-49aa-45ae-b885-725c62dd6d7b) ### Additional Context _No response_
Author
Owner

@SkyLostTR commented on GitHub (Jul 19, 2024):

HTML export is pretty buggy. If it would look like how it looks on AppFlowy that would be super useful.

<!-- gh-comment-id:2240584205 --> @SkyLostTR commented on GitHub (Jul 19, 2024): HTML export is pretty buggy. If it would look like how it looks on AppFlowy that would be super useful.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#2044
No description provided.