title: Prevent line breaks before or after `<a>` tag
body: <p>I have an ebook which contains a code like:</p>
  
  <pre><code>Some text (&lt;a id="aref"&gt;&lt;/a&gt;Some more text) that continues
  </code></pre>
  
  <p>I need the anchor to refer to this part of the text in the index. However, the tag allows line breaks, so I often end up with a line break right after <code>(</code>.</p>
  
  <p>Is there a way to prevent these line breaks (putting the anchor before the <code>(</code> is not an option).</p>