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> </style>
}} }}
<pre class="onebox"> {{!-- pre and code are intentionally on the same line to control whitespace --}}
<code class="{{lang}}"> <pre class="onebox"><code class="{{lang}}">
<ol class="start lines" start="{{cr_results.from}}" style="counter-reset: li-counter {{cr_results.from_minus_one}} ;"> <ol class="start lines" start="{{cr_results.from}}" style="counter-reset: li-counter {{cr_results.from_minus_one}} ;">
{{#lines}} {{#lines}}
<li{{#selected}} class="selected"{{/selected}}>{{data}}</li> <li{{#selected}} class="selected"{{/selected}}>{{data}}</li>
{{/lines}} {{/lines}}
</ol> </ol>
</code> </code></pre>
</pre>
{{/has_lines}} {{/has_lines}}
{{/binary}} {{/binary}}