I'm afraid I don't understand the question.
> I am playing with FET, trying to create some reports using
> tiddler.contents.
I might be mistaken, but I assume you mean tiddler.text?
-- F.
As you've guessed, the white-space CSS property is your best bet.
So use a custom class:
{{foo{
lorem ipsum dolor sit amet
}}}
Then add this to your StyleSheet:
.foo {
white-space: nowrap;
}
(you might also try "white-space: pre;")
HTH.
-- F.
It seems like TiddlyWiki's code/monospace formatter is "swallowing" line
breaks there - that might actually be considered a bug... (Not entirely
sure at this point.)
As for your issue, you might try the following:
.foo * { display: inline; }
.foo br { display: none; }
However, that will make line breaks disappear altogether, without
inserting spaces as you might expect.
-- F.