commit 8cdf29f6e2793c29c9c1483814d3bf5554b3dbda
parent caf64f1fd45164c3f587a80752663e36d9c018f6
Author: lash <dev@holbrook.no>
Date: Sat, 3 Dec 2022 19:06:28 +0000
WIP correct hierarchy for messages on standalone html issue render
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/piknik/render/html.py b/piknik/render/html.py
@@ -22,6 +22,7 @@ class Accumulator:
self.category_content = None
self.issue = None
self.msg = None
+ self.envelope_content = None
self.envelope = None
self.w = w
self.issues = []
@@ -59,7 +60,8 @@ class Accumulator:
elif v_id[:2] == 'm_':
if self.envelope != None:
self.msg.add(self.envelope)
- self.envelope = li(v)
+ self.envelope_content = v
+ self.envelope = li()
elif v_id[:4] == 'd_m_':
self.envelope.add(v)
else: