Improved quoting of title attibutes.