escape < and & in attributes and use the same escape function for attributes in doc.stag
Merge branch 'rrva-master' (escape < and & characters in the values of attributes)