Skip to content

The content wrapping problem in WIKI #15531

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

Closed
1 of 5 tasks
pjntt2020 opened this issue Apr 18, 2021 · 1 comment
Closed
1 of 5 tasks

The content wrapping problem in WIKI #15531

pjntt2020 opened this issue Apr 18, 2021 · 1 comment
Labels
outdated/theme/markdown type/question Issue needs no code to be fixed, only a description on how to fix it yourself.

Comments

@pjntt2020
Copy link

  • Gitea version (or commit ref):
    Gitea version 1.14.1 built with GNU Make 4.1, go1.16.3 : bindata, sqlite, sqlite_unlock_notify

  • Git version:
    git version 2.1.4

  • Operating system:

Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux

PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Description

Some content added line breaks when editing, but the line breaks were lost when displayed.
Is this a problem with my operation?

Screenshots

When editing:

微信截图_20210418125926

When displayed

微信截图_20210418125950

@noerw noerw added type/question Issue needs no code to be fixed, only a description on how to fix it yourself. outdated/theme/markdown labels May 14, 2021
@noerw
Copy link
Member

noerw commented Jul 10, 2021

By default markdown renders linebreaks only when there is a blank line in between. This behaviour can be toggled by configuration:
https://docs.gitea.io/en-us/config-cheat-sheet/#markdown-markdown

@noerw noerw closed this as completed Jul 10, 2021
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated/theme/markdown type/question Issue needs no code to be fixed, only a description on how to fix it yourself.
Projects
None yet
Development

No branches or pull requests

2 participants