instiki/vendor/plugins/HTML5lib/lib/core_ext/kernel.rb
Jacques Distler 5208bbf0af Sanitize url refs in SVG attributes
Add some tests.
Sync with latest HTML5lib (includes above sanitization improvements).
2007-10-27 17:34:29 -05:00

13 lines
143 B
Ruby

module Kernel
def silence
if $VERBOSE
$VERBOSE = false
yield
$VERBOSE = true
else
yield
end
end
end