@ -371,7 +371,7 @@ class WikiApp(Flask):
comment = comments[-1] if comments else None
# Insert the table before the comment
if comment:
if comment and table is not None:
comment.insert_before(table.extract())
return soup.prettify()
@ -13,6 +13,10 @@ body {
height: 100vh;
}
.table-cont {
overflow-wrap: anywhere;
.main-cont {
display: flex;
flex-direction: column;