Get content based on original HTML
It can't be done post anchoring, else the '#' end up in the ToC
This commit is contained in:
parent
65044361a6
commit
88b6f4b61b
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class BaseContentMixin(models.Model):
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def content_html(self) -> str:
|
def content_html(self) -> str:
|
||||||
return get_content_html(self.body_html)
|
return get_content_html(str(self.body))
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def plain_text(self) -> str:
|
def plain_text(self) -> str:
|
||||||
|
|
Loading…
Reference in a new issue