Don't double escape summary
This commit is contained in:
parent
365b9d49c6
commit
da00a67cb5
|
@ -7,7 +7,6 @@ import urlman
|
||||||
from asgiref.sync import async_to_sync, sync_to_async
|
from asgiref.sync import async_to_sync, sync_to_async
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.db import IntegrityError, models
|
from django.db import IntegrityError, models
|
||||||
from django.template.defaultfilters import linebreaks_filter
|
|
||||||
from django.utils import timezone
|
from django.utils import timezone
|
||||||
from django.utils.functional import lazy
|
from django.utils.functional import lazy
|
||||||
from lxml import etree
|
from lxml import etree
|
||||||
|
@ -467,7 +466,7 @@ class Identity(StatorModel):
|
||||||
if self.name:
|
if self.name:
|
||||||
response["name"] = self.name
|
response["name"] = self.name
|
||||||
if self.summary:
|
if self.summary:
|
||||||
response["summary"] = str(linebreaks_filter(self.summary))
|
response["summary"] = self.summary
|
||||||
if self.icon:
|
if self.icon:
|
||||||
response["icon"] = {
|
response["icon"] = {
|
||||||
"type": "Image",
|
"type": "Image",
|
||||||
|
|
Loading…
Reference in New Issue