mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Merge pull request #152 from XhmikosR/no-spaces-when-copying-license
Work around spaces being added when copying to clipboard.
This commit is contained in:
commit
e17bf1d846
@ -2,11 +2,7 @@
|
||||
|
||||
<div class="clearfix">
|
||||
<div class="license-body">
|
||||
<pre id="license-text">
|
||||
|
||||
{{ content | replace:"<","[" | replace:">","]" }}
|
||||
|
||||
</pre> <!-- /license-text -->
|
||||
<pre id="license-text">{{ content | replace:"<", "[" | replace:">", "]" }}</pre>
|
||||
</div> <!-- /license-body -->
|
||||
|
||||
{% include sidebar.html %}
|
||||
|
@ -7,7 +7,7 @@ source: http://opensource.org/licenses/MIT
|
||||
|
||||
featured: true
|
||||
|
||||
description: A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.
|
||||
description: A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.
|
||||
|
||||
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user