Skip to content

Commit 4d4ee91

Browse files
authored
Tweak bidi in options/attributes (#810)
Simplifies LRM/RLM/ALM usage in options and attributes by allowing them after literals (note that unquoted literals cannot include these characters and that quoted literals are enclosed in quotes.
1 parent dc216d6 commit 4d4ee91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exploration/bidi-usability.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ as well as the contents of _unquoted_ literals.
321321
```abnf
322322
variable-expression = "{" [s] variable [bidi] [s annotation] *(s attribute) [s] "}"
323323
function = ":" identifier [bidi] *(s option)
324-
option = identifier [bidi] [s] "=" [s] (literal / (variable [bidi])
325-
attribute = "@" identifier [bidi] [[s] "=" [s] (literal / (variable [bidi])]
324+
option = identifier [bidi] [s] "=" [s] (literal / variable) [bidi]
325+
attribute = "@" identifier [bidi] [[s] "=" [s] ((literal / variable) [bidi])]
326326
markup = "{" [s] "#" identifier [bidi] *(s option) *(s attribute) [s] ["/"] "}" ; open and standalone
327327
/ "{" [s] "/" identifier [bidi] *(s option) *(s attribute) [s] "}" ; close
328328
identifier = [(namespace [bidi] ":")] name

0 commit comments

Comments
 (0)