All of my comments for all of my content types do not respect show line breaks. I have tried to dig pretty deep into this issue but I now feel quite stuck.
This is what I discovered.
- The problem is not related to the text formats. (I have verified that Convert line breaks into HTML is checked.)
- The problem may have to do with safe_value. I used
dsm()to show content of the
$varsvariable inside the
hook_preprocess_field()implementation of the theme, which shows the value of the comment body has line breaks, but save_value doesn't.
- The issue is not related to the format. With
dsm()I have verified that the comment body is using the Filtered HTML input format, which I believe is correct.
This is what
dsm() outputs for the comment body.