Add subheaders to meme page

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2023-12-14 21:29:42 -05:00
parent a43e47e153
commit e0502bf5b3
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 7 additions and 4 deletions

View File

@ -162,10 +162,13 @@
(append!
lst
(list (dump-xml chld))))
((equal? (name chld) "blockquote")
(append!
lst
(list (dump-xml chld))))
((or
(equal? (name chld) "blockquote")
(equal? (name chld) "h3")
(equal? (name chld) "h4")
(equal? (name chld) "h5")
(equal? (name chld) "h6"))
(append! lst (list (dump-xml chld))))
((equal? (name chld) "p")
(if (and
(not (equal? (dump-xml (child chld)) "<br/>"))