mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1363] [ntfy v2.12.0] [Web App] Longer JSON code blocks are truncated #963
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#963
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @v3DJG6GL on GitHub (Jun 3, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1363
🐞 Describe the bug
I just came across the latest changelog and found PR #1262
That's just what I miss for default (non-formatted) publishing:
I do have an OPNsense firewall which uses ntfy e-mail publishing feature.
The messages that are published are formatted as JSON. This is not ideal, but it is at least readable.
In ntfy for Android, the JSON code block is wrapped.
But in the web application, the lines are truncated. I always have to copy & paste the text into an editor to read the entire JSON content:
When I modify the css element containing the message and add:
I get a horizontal scrollbar that makes it easier to read the entire JSON content.
I suppose it would be rather easy to add this or a similar css value to the Web App code itself?
💻 Components impacted
💡 Screenshots and/or logs
With modified css:

🔮 Additional context
@binwiederhier commented on GitHub (Feb 1, 2026):
Fixed in
github.com/binwiederhier/ntfy@7207839b2aThanks