UX: remove extra whitespace in github onebox (#17111)

This commit is contained in:
Kris 2022-06-16 21:09:45 -04:00 committed by GitHub
parent e5691362df
commit dfba188bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 9 deletions

View File

@ -39,15 +39,14 @@
</style>
}}
<pre class="onebox">
<code class="{{lang}}">
{{!-- pre and code are intentionally on the same line to control whitespace --}}
<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>
</code></pre>
{{/has_lines}}
{{/binary}}