Fix for newlines
Fix for text nodes
Convert HSB fill to HEX to support g.Raphael
Fixed merge