The nobr special tag documentation explains that each trailing newline (line-break) is replaced with a single space character, and it is those space characters (compressed by your web-browser) that you as seeing in the widget's output. I suggest using Line Continuations instead to suppress the unwanted newlines, as they don't replace the newline with a space character.
eg. The following dummy widget will not add unwanted space characters to it's output.
... as can be seen when it is used like so.
Some text that will not have a space before the period <<UsingLineContinuations>>.