I attempted to include some html tags within a pre tag, but noticed a significant gap between lines.
Below is the HTML code I used:
<h5>Help Message</h5>
<pre ng-show="panel.info_mode == 'markdown'" ng-bind-html="panel.help_message | markdown"> </pre>
<pre ng-show="panel.info_mode == 'text'" ng-style='panel.style' ng-bind-html="panel.help_message | striphtml | newlines"></pre>
<pre ng-show="panel.info_mode == 'html'" ng-bind-html="panel.help_message"></pre>
The panel.help_message contains various html elements such as:
<h1>Dillinger</h1>
<p>Dillinger is a cloud-enabled HTML5 Markdown editor.</p>
<ul>
<li>Type some Markdown text in the left window</li>
<li>See the HTML in the right</li>
<li>Magic</li>
</ul>
The result resembled the image below.
Can you help identify the cause of this line spacing issue?