Skip to content

Commit 4a4db8e

Browse files
Fix grammar for unsafe attributes
There were some errors in the formatting and the content of the grammar for unsafe attributes. Let's fix those.
1 parent 501e757 commit 4a4db8e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/attributes.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33

44
> **<sup>Syntax</sup>**\
55
> _InnerAttribute_ :\
6-
> &nbsp;&nbsp; `#` `!` `[` _Attr_ `]`
7-
> &nbsp;&nbsp; `#` `!` `[` `unsafe` `(` _Attr_ `)` `]`
6+
> &nbsp;&nbsp; &nbsp;&nbsp; `#` `!` `[` _Attr_ `]`\
7+
> &nbsp;&nbsp; | `#` `!` `[` `unsafe` `(` _Attr_ `)` `]`
88
>
99
> _OuterAttribute_ :\
10-
> &nbsp;&nbsp; `#` `[` _Attr_ `]`
11-
> &nbsp;&nbsp; `#` `[` `unsafe` `(` _Attr_ `)` `]`
12-
> &nbsp;&nbsp; `#` `!` `[` _Attr_ `]`
13-
> &nbsp;&nbsp; `#` `!` `[` `unsafe` `(` _Attr_ `)` `]`
10+
> &nbsp;&nbsp; &nbsp;&nbsp; `#` `[` _Attr_ `]`\
11+
> &nbsp;&nbsp; | `#` `[` `unsafe` `(` _Attr_ `)` `]`
1412
>
1513
> _Attr_ :\
1614
> &nbsp;&nbsp; [_SimplePath_] _AttrInput_<sup>?</sup>

0 commit comments

Comments
 (0)