diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-06-22 01:13:46 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-06-22 01:13:49 -0400 |
commit | f31e286f4a73c5c0f355512b0cb45c6c82088516 (patch) | |
tree | fdf22b179aef9937e7f6a3e71fc6c1e7f0ff9119 /lib/sisu/v5/shared_xml.rb | |
parent | vim, ftplugin sisu.vim, c-\ hard wrap lines to line width (moved from c-j) (diff) |
v5: general code cleaningsisu_4.1.5
* propagate back to v4 after testing
Diffstat (limited to 'lib/sisu/v5/shared_xml.rb')
-rw-r--r-- | lib/sisu/v5/shared_xml.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/sisu/v5/shared_xml.rb b/lib/sisu/v5/shared_xml.rb index fe4be74e..af9b0992 100644 --- a/lib/sisu/v5/shared_xml.rb +++ b/lib/sisu/v5/shared_xml.rb @@ -654,12 +654,11 @@ module SiSU_XML_Tags #Format @vz=SiSU_Viz::Defaults.new end def meta_content_clean(content='') - content - unless content.nil? + content=if not content.nil? content=content.tr('"',"'") content=SiSU_XML_Munge::Trans.new(@md).char_enc.utf8(content) + else content end - content end def rdfseg #segHead rdftoc @@ -693,7 +692,7 @@ WOK * SiSU http://www.jus.uio.no/sisu --> WOK - end + end end def comment_xml_sax desc='SiSU XML, SAX type representation' |