New line character in the middle of a self-closing tag causes a problem

require 'requestor'
eval Requestor.read('http://rorbuilder.info/r/ruby'){|x| x.require 'rexle' }


s =<<SVG
<svg height="180" width="500">
  <polyline points="0,40 40,40 40,80 80,80 80,120 120,120 120,160"
  style="fill:white;stroke:red;stroke-width:4" />
</svg> 
SVG

doc = Rexle.new s

Tags:
Source:
1430hrs.txt
Published:
24-11-2015 14:30