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

New line in text should be rendered as such and not appended to the line #4259

Closed
D267-dev opened this issue Apr 5, 2024 · 2 comments
Closed

Comments

@D267-dev
Copy link

D267-dev commented Apr 5, 2024

In draft view
"line1
line2"
is rendered as
"line1 line2" in normal view.

Only
"line1

line 2"
is rendered in normal view as it is displayed in the draft view.

@splitbrain splitbrain closed this as not planned Won't fix, can't repro, duplicate, stale Apr 5, 2024
@D267-dev
Copy link
Author

D267-dev commented Apr 6, 2024

Hi splitbrain,
is this a easy problem suitable as a first issue?
If so where could I start?
Would my fix be accepted?
Greetings

@Klap-in
Copy link
Collaborator

Klap-in commented Apr 7, 2024

DokuWiki only renders whitelines if you used an empty white line. A single newline is absorbed, a double newline not. The idea is that a whiteline improves also the readability of the raw wiki text in the editor, while editors have not to bother too much about difficult to spot newlines. If you need an explicit newline, see https://www.dokuwiki.org/wiki:syntax#basic_text_formatting

As this is by design, we do not accept pull requests for this feature, which would be also not backward compatible.

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

No branches or pull requests

3 participants