Proper markdown formatting

This commit is contained in:
Mouse Reeve
2022-02-04 12:06:47 -08:00
parent fefb7e582a
commit 0683ce1c33
3 changed files with 26 additions and 2 deletions

View File

@ -142,7 +142,7 @@ class ListItem(CollectionItemMixin, BookWyrmModel):
user = fields.ForeignKey(
"User", on_delete=models.PROTECT, activitypub_field="actor"
)
notes = fields.TextField(blank=True, null=True, max_length=300)
notes = fields.HtmlField(blank=True, null=True, max_length=300)
approved = models.BooleanField(default=True)
order = fields.IntegerField()
endorsement = models.ManyToManyField("User", related_name="endorsers")