title: Background Color behind Heading <h1> with padding with line break
body: <p>I want to give a background color to <code>&lt;h1&gt;</code> and wanted it to extend with the text and with equal paddings on left and right.</p>
  
  <p>It seems ok on single line but when I break a line the padding messed up.</p>
  
  <p>Here's my code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>h1 span {
    background: red;
    color: #fff;
    padding: 0 20px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h1&gt;&lt;span&gt;Lorem Ipsum Doler Sai Bongaro&lt;/span&gt;&lt;/h1&gt;
  &lt;h1&gt;&lt;span&gt;Lorem Ipsum &lt;br&gt;Doler Sai Bongaro&lt;/span&gt;&lt;/h1&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://i.stack.imgur.com/9Kj1q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9Kj1q.png" alt="enter image description here"></a></p>
  
  <p>I want the space after lipsum and before doler in the second <code>&lt;h1&gt;</code></p>
  
  <p>And it shouldn't look like a box...</p>
  
  <p>So it look like this:</p>
  
  <p><a href="https://i.stack.imgur.com/zuwWE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zuwWE.png" alt="enter image description here"></a></p>