From 62066749b53cec10d6c4cc04dd5d7e76fa14def6 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Sat, 15 Jun 2013 04:13:13 -0400 Subject: [PATCH] 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). --- _includes/sidebar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 1472a60..5d23bf5 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -4,7 +4,7 @@
How to apply this license

- {{ page.how }} + {{ page.how | replace:"<<","[" | replace:">>","]" }}

{% if page.note %}