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

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 <[email protected]>
@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
3 of 9 checks passed
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

Successfully merging this pull request may close these issues.

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