Commit e8b75d1
committed
Gradle: patchPluginXml: fix formatting of <change-notes>
Commit 1082881 (Gradle: patchPluginXml: link to the full changelog,
2023-07-05) added section "See also" to <change-notes> generated by
Gradle task `patchPluginXml`. I failed to test the change. The
asterisk in front of the `[Full changelog](...)` causes the list item to
be nested one level too deep.
Function `plus()` keeps only the `extraItems` passed into the
constructor of `Changelog.Item` (and `summary`, but only if left-hand
side `Item` doesn't have one already). So we technically could keep the
String "* ", as its value was just ignored by `plus()`.[1]
Remove unnecessary asterisks of Markdown list syntax that I've added
without understanding how the classes Changelog and Changelog.Item work.
While we're here, mention introduction of the "See also" section with
the link to the full changelog in `CHANGELOG.md`.
[1] value of property `itemPrefix` in class Changelog.Item is completely
unused as of Gradle Changelog Plugin 2.1.1, but that's a separate
issue1 parent 785f15b commit e8b75d1
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
0 commit comments