mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-13 02:41:08 +00:00
Don't double escape summary
This commit is contained in:
parent
365b9d49c6
commit
da00a67cb5
1 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,6 @@ import urlman
|
|||
from asgiref.sync import async_to_sync, sync_to_async
|
||||
from django.conf import settings
|
||||
from django.db import IntegrityError, models
|
||||
from django.template.defaultfilters import linebreaks_filter
|
||||
from django.utils import timezone
|
||||
from django.utils.functional import lazy
|
||||
from lxml import etree
|
||||
|
@ -467,7 +466,7 @@ class Identity(StatorModel):
|
|||
if self.name:
|
||||
response["name"] = self.name
|
||||
if self.summary:
|
||||
response["summary"] = str(linebreaks_filter(self.summary))
|
||||
response["summary"] = self.summary
|
||||
if self.icon:
|
||||
response["icon"] = {
|
||||
"type": "Image",
|
||||
|
|
Loading…
Reference in a new issue