mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 04:40:09 +01:00
sidebar: convert <</>> into brackets in page.how
We already do this in the license bodies, and we need to match here (currently we just print junk like `replace <> with ...` because we end up with garbled HTML. This replacement should arguably be factored out, as it would want to be the same everywhere (and we might want to make it bold everywhere or something).
This commit is contained in:
parent
244f14f93c
commit
62066749b5
@ -4,7 +4,7 @@
|
||||
<div class='how-to-apply callout'>
|
||||
<h5>How to apply this license</h5>
|
||||
<p>
|
||||
{{ page.how }}
|
||||
{{ page.how | replace:"<<","[" | replace:">>","]" }}
|
||||
</p>
|
||||
{% if page.note %}
|
||||
<p class="note">
|
||||
|
Loading…
x
Reference in New Issue
Block a user