Fix against badly formatted blocks coming from inkscape