Filtered HTML adding two  tags, not one I have a "Filtered HTML" text field and have the convert line breaks to &lt;br&gt; &amp; &lt;p&gt; tags option turned on in the configuration but when I'm adding content to a "Filtered HTML" field and use Shift + Enter to create a newline within the same paragraph Drupal seems to be adding in two &lt;br&gt; tags rather than one, which I'd expect.

For an example the text

"I'm having
a great day"


gets turned into

"I'm having&lt;br&gt;&lt;br&gt;
a great day"


Is there any way to alter this behaviour to add just one &lt;br&gt; tag instead of two?
The only way I've found of resolving this is to replace the two &lt;br /&gt; tags with one using a str_replace in the field preprocess function. I've placed an example below.

function theme_preprocess_field(&amp;$vars) {
  switch($vars['element']['#field_name']) {
    // When pressing Shift + Enter in WYSIWYG editor to create a new line it outputs two &lt;br /&gt; tags, not one.
    case "field_description":
      $vars["items"][0]["#markup"] = str_replace("&lt;br /&gt;&lt;br /&gt;", "&lt;br /&gt;", $vars["items"][0]["#markup"]);

      break;
  }
}