1
0
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:
XhmikosR 2014-01-23 12:23:47 +02:00
parent 07491fb984
commit 13c9eb92fb

View File

@ -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 %}