s/</&lt;/g and also other occurences. Plus spaces around binary operators.