Skip to content

Alphanumeric Tags

Choose a tag to compare

@andrejewski andrejewski released this 12 Nov 00:57
· 31 commits to master since this release

This patch release aligns Himalaya closer with the spec for HTML5 tag names in regards to valid tag names. Up until now, any characters following an < could be considered a tag name by the parser. Now that < must be immediately followed by an alphanumeric character.

Note: The HTML5 spec only allows purely alphanumeric tag names, but Himalaya will accept any tag name starting with an alphanumeric character. This looseness is for web component folks who get crazy with naming using dashes and whatnot.

See issue #71 / PR #73 for more details; thanks to @figueiredo-lucas for the issue.