Permalink
Browse files

striptags from article title

  • Loading branch information...
nnadeau committed Jul 30, 2018
1 parent 5a41ce0 commit 0cd2d00d99be60ceacdd629e584fedc454a0b2c3
Showing with 2 additions and 2 deletions.
  1. +2 −2 templates/partial/neighbors.html
@@ -1,12 +1,12 @@
{% if 'neighbors' in PLUGINS %}
<div class="neighbors">
{% if article.prev_article %}
<a class="btn float-left" href="{{ SITEURL }}/{{ article.prev_article.url }}" title="{{ article.prev_article.title }}">
<a class="btn float-left" href="{{ SITEURL }}/{{ article.prev_article.url }}" title="{{ article.prev_article.title|striptags }}">
<i class="fa fa-angle-left"></i> {{ _('Previous Post') }}
</a>
{% endif %}
{% if article.next_article %}
<a class="btn float-right" href="{{ SITEURL }}/{{ article.next_article.url }}" title="{{ article.next_article.title }}">
<a class="btn float-right" href="{{ SITEURL }}/{{ article.next_article.url }}" title="{{ article.next_article.title|striptags }}">
{{ _('Next Post') }} <i class="fa fa-angle-right"></i>
</a>
{% endif %}

0 comments on commit 0cd2d00

Please sign in to comment.