diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-12-11 18:58:50 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-12-11 18:58:50 -0500 |
commit | 7d8015c0b12c93a3f5c444d3f3790544e722890e (patch) | |
tree | 10b526f177af9948cb9298f831fae92ecda8ddd4 /lib/sisu/develop/xhtml.rb | |
parent | c&d: html, output by filename, filenames, fix (diff) |
d: persist, address garbage collection issue, bug, fix
* related to code related changes (re: "persistence") in
recent reorganization of txt, html, epub, xmls etc.
Diffstat (limited to 'lib/sisu/develop/xhtml.rb')
-rw-r--r-- | lib/sisu/develop/xhtml.rb | 12 |
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='') |