Fix for bug #11897.
Tests: Added tests for enter key in empty list item with format.
Changelog entry.
Merge branch 't/11897'