mirror of
https://github.com/github/choosealicense.com
synced 2024-07-01 16:13:02 +02:00
Strip html from description when displaying in meta tag
This commit is contained in:
parent
9fd7cebc33
commit
5c9c18e7c3
|
@ -8,7 +8,7 @@
|
||||||
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
|
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
|
||||||
|
|
||||||
{% if page.description %}
|
{% if page.description %}
|
||||||
<meta name="description" content="{{ page.description }}">
|
<meta name="description" content="{{ page.description | strip_html }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<link href='/favicon.ico' rel='shortcut icon' type='image/x-icon'>
|
<link href='/favicon.ico' rel='shortcut icon' type='image/x-icon'>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user