How weird, if I click on "hide" (to hide the post) the correct line breaks are shown. And if I re-show the post, the wrong text (without linebreaks) appears again.
Do you have any idea where could be the problem / bug?
PS: In function read_post() I changed one line so that for mobiles the "html" post gets saved as text only:
// new: if mobile then format=''
$formatsave = qa_is_mobile_probably() ? '' : 'html';
return array(
'format' => '',
'content' => $viewer->get_text($html, $formatsave, array())
);
So it stores the line break, but does not show it frontend? ... still investigating.