Fix read more link, make it a paragraph, escape the HTML
This commit is contained in:
parent
8c3e1dcc88
commit
183434e5ba
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
||||||
{# The RSS Teaser view mode *must* be configured to output the body paragraph
|
{# The RSS Teaser view mode *must* be configured to output the body paragraph
|
||||||
(summary) LAST; see below for why. #}
|
(summary) LAST; see below for why. #}
|
||||||
{{ description|raw }}
|
{{ description|raw }}
|
||||||
<a href="{{ item.node.url }}">Read more and discuss at agaric.coop.</a>
|
{{ '<p><a href="'|escape('html') }}{{ link }}{{ '">Read more and discuss at agaric.coop.</a></p>'|escape('html') }}
|
||||||
{# Opening description tag is in paragraph template used for description,
|
{# Opening description tag is in paragraph template used for description,
|
||||||
see field/field--field-body-paragraph--rss-teaser.html.twig and only the
|
see field/field--field-body-paragraph--rss-teaser.html.twig and only the
|
||||||
closing description tag is here so that we can have the read more link
|
closing description tag is here so that we can have the read more link
|
||||||
|
|
Loading…
Reference in a new issue