diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-08-29 21:05:12 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-08-29 21:05:12 -0400 |
commit | aed8d0f1cae7debfb4b9e1858b56d18abbfc7bf5 (patch) | |
tree | 0296346dfc87f91371ed086e42231fad226ec455 /lib/sisu/v6/sst_to_s_xml_sax.rb | |
parent | debian/changelog (5.6.2-1) (diff) | |
parent | v5 v6: dp, texpdf, copyright_and_license, minor fix, used by texpdf (diff) |
Merge tag 'sisu_5.6.3' into debian/sid
SiSU 5.6.3
Diffstat (limited to 'lib/sisu/v6/sst_to_s_xml_sax.rb')
-rw-r--r-- | lib/sisu/v6/sst_to_s_xml_sax.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v6/sst_to_s_xml_sax.rb b/lib/sisu/v6/sst_to_s_xml_sax.rb index 0be6ffa0..a780e810 100644 --- a/lib/sisu/v6/sst_to_s_xml_sax.rb +++ b/lib/sisu/v6/sst_to_s_xml_sax.rb @@ -395,8 +395,8 @@ WOK dir=SiSU_Env::InfoEnv.new @@xml[:head],@@xml[:body]=[],[] css=SiSU_Env::CSS_Select.new(@md).xml_sax - encoding=if @sys.locale =~/utf-?8/i; '<?xml version="1.0" encoding="UTF-8" standalone="no"?>' - else '<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>' + encoding=if @sys.locale =~/utf-?8/i then '<?xml version="1.0" encoding="UTF-8" standalone="no"?>' + else '<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>' end @@xml[:open] =<<WOK #{encoding} |