ezsystems/ezpublish-legacy — pull request #930 by dpobel (2014-04-11 10:03:31+00:00)
Title: EZP-22563: Single line break is lost on headers

JIRA: https://jira.ez.no/browse/EZP-22563

# Description

Any `
` tag is simply removed if it appears inside an header element and the same goes for line breaks when using the simplified input parser.

This patch adds the support for line breaks inside headers for both the simplified input parser and the Online Editor Input parser while still maintaining the header parsing behavior if there's no line break ie:

```xml

Franz Ferdinand
Love Illumination

Right Thoughts, Right Words, Right Action

```

is converted into (indentation added by me to ease reading):

```xml

Franz Ferdinand
Love Illumination

Right Thoughts, Right Words, Right Action

```

# Tests

manual + unit tests (and the output is correctly formatted in frontend in both legacy and new stacks as well)