better compatibility with html specs

an attribute can contain < or > chars