Update parser.js

Don't miss A tags, they behave like g tags.