aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/develop/xhtml.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/develop/xhtml.rb')
-rw-r--r--lib/sisu/develop/xhtml.rb12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/sisu/develop/xhtml.rb b/lib/sisu/develop/xhtml.rb
index 9e06d7b2..d24a568e 100644
--- a/lib/sisu/develop/xhtml.rb
+++ b/lib/sisu/develop/xhtml.rb
@@ -153,10 +153,14 @@ module SiSU_XHTML
@per=SiSU_XML_Persist::Persist.new
end
def songsheet
- pre
- @data=markup(@ao_array)
- post
- publish
+ begin
+ pre
+ @data=markup(@ao_array)
+ post
+ publish
+ ensure
+ SiSU_XML_Persist::Persist.new.persist_init
+ end
end
protected
def embedded_endnotes(dob='')