Should, but it is not required:
Starting with version 3, Nagios will process plugins' multiline output, which should be formatted as:
SERVICE STATUS: First line of output | First part of performance data
Any number of subsequent lines of output, but note that buffers
may have a limited size | Second part of performance data, which
may have continuation lines, too
https://nagios-plugins.org/doc/guidelines.html#AEN33
I can think of good reasons why multi-line output might be needed (multiple disk/mount checks in one service (ugly but sometimes desired), event logs that return the log contents, a service which writes out the lyrics to Another Brick In The Wall, etc.) but in general I agree with the one-line thing. The issue here is that it appears to be showing a literal
\n as two characters, instead of converting to
<br />[/icode for display] or something. I vaguely recall an option to define this behavior, but I might be thinking of the CGI config option to allow HTML tags.
At any rate, C dev confirm buggy behavior so it'll be addressed. If we don't hear from OP I'll be filing this on their behalf.