Skip to content

Commit e588d82

Browse files
traviscrossehuss
authored andcommitted
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 7b4d9b3 commit e588d82

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/attributes.md

+4-6
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)