Closes #12115. Fix `simple_format` with sanitizing option when the text contains single line feed.

If we call `simple_format` method with sanitizing option, a single line feed (\n) is replaced with unexpected characters .

```
&lt;br /&gt;
```
I think we should backport  to 4-0-stable.