You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you share a bit more about how you're running the library or if you're using its prebuilt binaries? This looks like potentially something is incorrect with the slog logger being used, but it doesn't map to what I've seen locally or in apps where I've embedded the riverui handlers.
This issue is caused by using only the <code> html tag for this element, which forcibly strips all whitespace. Wrapping it in a <pre> tag preserves said whitespace. This is noted and resolved with a small tweak in #530
Activity
bgentry commentedon Oct 28, 2025
Can you share a bit more about how you're running the library or if you're using its prebuilt binaries? This looks like potentially something is incorrect with the slog logger being used, but it doesn't map to what I've seen locally or in apps where I've embedded the riverui handlers.
odyfey commentedon Oct 28, 2025
RiverUI is running in a docker container with an image
ghcr.io/riverqueue/riverui:0.13.0slog middleware configuration:
using a logger in a worker:
Cyberax commentedon Oct 29, 2025
I'm seeing the same issue. The
<code>block doesn't have styles to preserve the newlines:If I manually change the DOM node type from
<code>to<pre>directly in the inspector, then the logs appear normally:I'm using the built-in UI, package version is
riverqueue.com/riverui v0.13.0jwarner112 commentedon Jun 11, 2026
This issue is caused by using only the
<code>html tag for this element, which forcibly strips all whitespace. Wrapping it in a<pre>tag preserves said whitespace. This is noted and resolved with a small tweak in #530