templates/gitlabblob.mustache in onebox-2.2.14 vs templates/gitlabblob.mustache in onebox-2.2.15
- old
+ new
@@ -1,13 +1,20 @@
<h4><a href="{{link}}" target="_blank" rel="noopener">{{title}}</a></h4>
+
{{^has_lines}}
-<pre><code class='{{lang}}'>{{content}}</code></pre>
+ <pre><code class="{{lang}}">{{content}}</code></pre>
{{/has_lines}}
{{#has_lines}}
-<pre class='onebox'><code class='{{lang}}'><ol class='start lines' start="{{cr_results.from}}" style='counter-reset: li-counter {{cr_results.from_minus_one}} ;'>
-{{#lines}}<li{{#selected}} class="selected"{{/selected}}>{{data}}</li>{{/lines}}
-</ol></code></pre>
+ <pre class="onebox">
+ <code class="{{lang}}">
+ <ol class="start lines" start="{{cr_results.from}}" style="counter-reset: li-counter {{cr_results.from_minus_one}} ;">
+ {{#lines}}
+ <li{{#selected}} class="selected"{{/selected}}>{{data}}</li>
+ {{/lines}}
+ </ol>
+ </code>
+ </pre>
{{/has_lines}}
{{#truncated}}
This file has been truncated. <a href="{{link}}" target="_blank" rel="noopener">show original</a>
{{/truncated}}