Commit 990312e
committed
Avoid some undefined attribute warnings
I'd like to enable `attribute-missing=warn` in the Asciidoctor build in
order to catch cases where we forgot to define an attribute. However,
doing so causes false warnings for things in `[code]` style that look
like attributes. Add escaping to these, which avoids the warning.
Unfortunately, I still cannot enable `attribute-missing=warn` because
there are still the following false warnings:
```
asciidoctor: WARNING: skipping reference to missing attribute: n
asciidoctor: WARNING: skipping reference to missing attribute: objectbundle
asciidoctor: WARNING: skipping reference to missing attribute: objectbundle
```
I have no idea where these are coming from. In fact, the word
"objectbundle" doesn't even exist in our repo.1 parent 9e5c9fa commit 990312e
3 files changed
Lines changed: 16 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1675 | 1675 | | |
1676 | 1676 | | |
1677 | 1677 | | |
1678 | | - | |
1679 | | - | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
1680 | 1681 | | |
1681 | 1682 | | |
1682 | 1683 | | |
1683 | 1684 | | |
1684 | 1685 | | |
1685 | | - | |
1686 | | - | |
| 1686 | + | |
| 1687 | + | |
1687 | 1688 | | |
1688 | 1689 | | |
1689 | 1690 | | |
1690 | 1691 | | |
1691 | 1692 | | |
1692 | | - | |
1693 | | - | |
| 1693 | + | |
| 1694 | + | |
1694 | 1695 | | |
1695 | 1696 | | |
1696 | 1697 | | |
| |||
1700 | 1701 | | |
1701 | 1702 | | |
1702 | 1703 | | |
1703 | | - | |
| 1704 | + | |
1704 | 1705 | | |
1705 | | - | |
| 1706 | + | |
1706 | 1707 | | |
1707 | | - | |
| 1708 | + | |
1708 | 1709 | | |
1709 | 1710 | | |
1710 | 1711 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | | - | |
| 494 | + | |
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
| |||
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
904 | | - | |
| 904 | + | |
905 | 905 | | |
906 | 906 | | |
907 | 907 | | |
| |||
921 | 921 | | |
922 | 922 | | |
923 | 923 | | |
924 | | - | |
| 924 | + | |
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
| |||
935 | 935 | | |
936 | 936 | | |
937 | 937 | | |
938 | | - | |
| 938 | + | |
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| |||
0 commit comments