Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The newline break is missing in Issue content #32521

Closed
zjjhot opened this issue Nov 15, 2024 · 4 comments · Fixed by #32522
Closed

The newline break is missing in Issue content #32521

zjjhot opened this issue Nov 15, 2024 · 4 comments · Fixed by #32522
Labels

Comments

@zjjhot
Copy link
Contributor

zjjhot commented Nov 15, 2024

Description

The newline break is missing in Issue content , for example


edit(OK):
1
2
3

preview tab (OK):
1
2
3

actual web page display as (newline break is missing) :
123

also see below


edit(OK):

> 1
> 2
> 3

preview(OK with quote block):
| 1
| 2
| 3

actual web page display as (newline break is missing) :
| 123


Gitea Version

main branch

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

main branch

Operating System

windows

How are you running Gitea?

windows with ms sql server

Database

SQLite

@lunny
Copy link
Member

lunny commented Nov 15, 2024

Regression from #32492

@wxiaoguang
Copy link
Contributor

Will fix it

@wxiaoguang
Copy link
Contributor

Let's try this: Improve markdown rendering #32522

@wxiaoguang
Copy link
Contributor

1.23 nightly is ready, could you take a try?

ps: before 1.23 frozen, there will be some more refactorings to the render system to make it maintainable and secure. if there is any regression, feel free to open an issue and I will fix them ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants