gemini.git

going-flying.com gemini git repository

summary

tree

log

refs

4169e70c9adc7df0031f50081d4eb099d443eb34 - Matthew Ernisse - 1657664107

fix thoughts renderer

view tree

view raw

diff --git a/files/thoughts-to-gemini.py b/files/thoughts-to-gemini.py
index a6b919a..ceba0f5 100755
--- a/files/thoughts-to-gemini.py
+++ b/files/thoughts-to-gemini.py
@@ -132,7 +132,7 @@ class DeHTMLizer(object):
 		Strips style and script elements completely.  Converts
 		blockquote to >, pre to ```, strong to ** and a few more.
 		'''
-		nestable = ['blockquote', 'p']
+		nestable = ['blockquote', 'div', 'p']
 		noprint = ['style', 'script']
 
 		if tag.name == 'a':