modification: 'htag' now isn't case sensitive