Commit c89cb2c
committed
Add a prefix to rule HTML IDs
This adds the `r-` prefix to HTML IDs generated for rule names. This
fixes a problem where the HTML IDs may conflict with existing markdown
headers. For example, `## Crate` conflicts with `r[crate]`. This is done
with the expectation that no headers will start with just the letter
"r".1 parent 1e24d68 commit c89cb2c
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments