"
- @htl """<$contains_bigger_than>$contains_bigger_than>"""
- #-> ERROR: "Content within a tag name can only contain latin letters, numbers or hyphens (`-`)"
-
- contains_slash = "files/extra.js"
- @htl """<$contains_slash>$contains_slash>"""
- #-> ERROR: "Content within a tag name can only contain latin letters, numbers or hyphens (`-`)"
-
- starts_with_hyphen = "-secret-tag-name"
- @htl """<$starts_with_hyphen>$starts_with_hyphen>"""
- #-> ERROR: "A tag name can only start with letters, not `-`"
-
- empty = ""
- @htl """<$empty>$empty>"""
- #-> ERROR: "A tag name can not be empty"
-
- empty = ""
- @htl """<$empty/>"""
- #-> ERROR: "A tag name can not be empty"
-
-But I figured, better safe than sorry, let's only allow characters people commonly use.
-(We can always make this less restrictive, but making it more restrictive would be a breaking change)
-Also, until someone finds it necessary to implement this, we treat tags with a prefix as
-tag names, thus requiring it to be non-empty and not start with a hyphen.
-
- technically_valid_but_weird = "Technically⨝ValidTag™"
- @htl """<$technically_valid_but_weird>$technically_valid_but_weird>"""
- #-> ERROR: "Content within a tag name can only contain latin letters, numbers or hyphens (`-`)"
-
- @htl """<$technically_valid_but_weird/>"""
- #-> ERROR: "Content within a tag name can only contain latin letters, numbers or hyphens (`-`)"
-
- technically_valid_starts_with_hyphen = "-secret-tag-name"
- @htl """
"""
- #-> ERROR: "A tag name can only start with letters, not `-`"
-
- technically_valid_empty = ""
- @htl """
"""
- #-> ERROR: "A tag name can not be empty"
-
## Style Tag
Within a `