diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-11-20 23:10:12 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-12-08 00:18:15 -0500 |
commit | 802c36252a6a8d652970ef207e36ed1bc09be0a7 (patch) | |
tree | c7e045a6005227fa8c266b26248c4df59efda738 /lib/sisu/develop/xml_dom.rb | |
parent | d: in dp (param) project_details used instead of sisu_version (diff) |
d: misc mostly minor
* html endnote segment, heading endnote, link back to html scroll
* epub endnote segment fails, issue with match, fix
* dp, remark if no existing option selected
Diffstat (limited to 'lib/sisu/develop/xml_dom.rb')
-rw-r--r-- | lib/sisu/develop/xml_dom.rb | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/lib/sisu/develop/xml_dom.rb b/lib/sisu/develop/xml_dom.rb index 60d57854..3664820d 100644 --- a/lib/sisu/develop/xml_dom.rb +++ b/lib/sisu/develop/xml_dom.rb @@ -591,19 +591,21 @@ WOK if @prog.tidy !=false if (@md.opt.act[:verbose_plus][:set]==:on \ || @md.opt.act[:maintenance][:set]==:on) - SiSU_Screen::Ansi.new( - @md.opt.act[:color_state][:set], - 'invert', - 'Using XML Tidy', - 'check document structure' - ).colorize unless @md.opt.act[:quiet][:set]==:on - tell=SiSU_Screen::Ansi.new( - @md.opt.act[:color_state][:set], - 'invert', - '', - '' - ) - tell.grey_open unless @md.opt.act[:quiet][:set]==:on + unless @md.opt.act[:quiet][:set]==:on + SiSU_Screen::Ansi.new( + @md.opt.act[:color_state][:set], + 'invert', + 'Using XML Tidy', + 'check document structure' + ).colorize + tell=SiSU_Screen::Ansi.new( + @md.opt.act[:color_state][:set], + 'invert', + '', + '' + ) + tell.grey_open + end tidyfile='/dev/null' #don't want one or screen output, check for alternative flags tidy=SiSU_Env::SystemCall.new(@file,tidyfile) tidy.well_formed? |