Commit 07600a6
committed
Fix GH-157: Note elements generate semantic HTML using div instead of blockquote
- Replace <blockquote><p> with <div> in format_note(), aligning with
format_admonition() used by other admonitions (caution, warning, tip)
- Change note title from <strong> to <h5 class="title">
- Remove 'note' => 'span' override for simpara, allowing <p> rendering
- Remove 'note' => 'span' override for info, using default format_div
- Add test for note rendering1 parent d7f7004 commit 07600a6
3 files changed
Lines changed: 51 additions & 6 deletions
File tree
- phpdotnet/phd/Package/Generic
- tests/package/generic
- data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | 121 | | |
123 | 122 | | |
124 | 123 | | |
| |||
294 | 293 | | |
295 | 294 | | |
296 | 295 | | |
297 | | - | |
298 | 296 | | |
299 | 297 | | |
300 | 298 | | |
| |||
2042 | 2040 | | |
2043 | 2041 | | |
2044 | 2042 | | |
2045 | | - | |
| 2043 | + | |
2046 | 2044 | | |
2047 | | - | |
| 2045 | + | |
2048 | 2046 | | |
2049 | 2047 | | |
2050 | 2048 | | |
2051 | 2049 | | |
2052 | | - | |
| 2050 | + | |
2053 | 2051 | | |
2054 | | - | |
| 2052 | + | |
2055 | 2053 | | |
2056 | 2054 | | |
2057 | 2055 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments