Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix weird formatting in articles #1272

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

mkanilsson
Copy link
Contributor

@mkanilsson mkanilsson commented Sep 22, 2023

Before After

Everything inside <pre> ... </pre> will keep their formatting because that is what pre-tags are for.

This fixes #1270

This code is very hacky but it gets the job done

Signed-off-by: Marcus Nilsson <marcus.nilsson@genarp.com>
@David-Development
Copy link
Member

Looks great to me! Lot's of regex magic, I love it 😅

@David-Development David-Development merged commit a2a646c into nextcloud:master Sep 26, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to reflow text for feeds that provide plaintext content
3 participants