mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Simplify license.html.
Remove the custom `replace` filter and use `markdownify` instead.
This commit is contained in:
parent
07491fb984
commit
13c9eb92fb
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<div class="license-body">
|
<div class="license-body">
|
||||||
<pre id="license-text">{{ content | replace:"<", "[" | replace:">", "]" }}</pre>
|
<pre id="license-text">{{ content | markdownify | strip_html }}</pre>
|
||||||
</div> <!-- /license-body -->
|
</div> <!-- /license-body -->
|
||||||
|
|
||||||
{% include sidebar.html %}
|
{% include sidebar.html %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user