1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 21:00:10 +01:00
XhmikosR 366cbaf21a Work around spaces being added when copying to clipboard.
Since the license text is wrapped in `<pre>` with `white-space: pre-wrap` empty lines make the #license-text bigger than it actually is.

So, get rid of the empty newline at the end of the license text files since jekyll adds trailing spaces when it parses those.
2013-12-13 13:02:57 +02:00

13 lines
308 B
HTML

{% include header.html %}
<div class="clearfix">
<div class="license-body">
<pre id="license-text">{{ content | replace:"<", "[" | replace:">", "]" }}</pre>
</div> <!-- /license-body -->
{% include sidebar.html %}
</div> <!-- /clearfix -->
{% include footer.html %}