File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 19
19
//!
20
20
//! raw_tag_name ::= 'pre' | 'script' | 'style' | 'textarea' ; Note: case-insensitive.
21
21
//! basic_tag_name ::= 'address' | 'article' | 'aside' | ... ; See `constants.rs`, and note: case-insensitive.
22
- //! opening_tag ::= '<' tag_name *(space_or_tab_eol attribute) [[space_or_tab_eol] '/'] [space_or_tab_eol] '>'
23
- //! closing_tag ::= '</' tag_name [space_or_tab_eol] '>'
22
+ //! opening_tag ::= '<' tag_name *(1*space_or_tab attribute) [*space_or_tab '/'] *space_or_tab '>'
23
+ //! closing_tag ::= '</' tag_name *space_or_tab '>'
24
24
//! tag_name ::= ascii_alphabetic *('-' | ascii_alphanumeric)
25
- //! attribute ::= attribute_name [[space_or_tab_eol] '=' [space_or_tab_eol] attribute_value]
25
+ //! attribute ::= attribute_name [*space_or_tab '=' *space_or_tab attribute_value]
26
26
//! attribute_name ::= (':' | '_' | ascii_alphabetic) *('-' | '.' | ':' | '_' | ascii_alphanumeric)
27
27
//! attribute_value ::= '"' *(line - '"') '"' | "'" *(line - "'") "'" | 1*(text - '"' - "'" - '/' - '<' - '=' - '>' - '`')
28
28
//! ```
You can’t perform that action at this time.
0 commit comments