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: css to preserve linebreaks in messages #2163

Merged

Conversation

Zegnat
Copy link
Contributor

@Zegnat Zegnat commented Feb 4, 2024

Super minimal change. Just preserving line breaks in hledger-web. See the following before and after screenshots:

Before:
the error message about an unbalanced transaction is all on one line.

After:
the error message about an unbalanced transaction is split over multiple lines.

I was not sure if this would be nice to have in the changelog or not. Let me know if you would prefer me to prefix the commit message with ;.

@simonmichael
Copy link
Owner

Very nice and changelog worthy, thanks!

@simonmichael simonmichael merged commit a7c5225 into simonmichael:master Feb 5, 2024
1 check passed
@simonmichael simonmichael added A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. web The hledger-web tool. labels Feb 5, 2024
@Zegnat Zegnat deleted the hledger-web/multiline-errors branch February 5, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. web The hledger-web tool.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants