normalize shorttag definitions