mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 04:10:22 +08:00
BUGFIX: properly escape HTML entities in excerpt (props to @ecuk)
This commit is contained in:
parent
671b8e7587
commit
57eacdaeed
@ -19,7 +19,7 @@
|
||||
|
||||
{{#if hasExcerpt}}
|
||||
<div class="topic-excerpt">
|
||||
{{excerpt}}
|
||||
{{{excerpt}}}
|
||||
{{#if excerptTruncated}}
|
||||
{{#unless canClearPin}}<a href="{{lastUnreadUrl}}">{{i18n read_more}}</a>{{/unless}}
|
||||
{{/if}}
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
{{#if hasExcerpt}}
|
||||
<div class="topic-excerpt">
|
||||
{{excerpt}}
|
||||
{{{excerpt}}}
|
||||
{{#if excerptTruncated}}
|
||||
{{#unless canClearPin}}<a href="{{lastUnreadUrl}}">{{i18n read_more}}</a>{{/unless}}
|
||||
{{/if}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user