Commit c841cd2
committed
Add
- Maintain spec compliance: blank lines within definition content create
paragraphs in the same <dd> element
- Add new `: +` marker syntax to explicitly create additional <dd> elements
for the same term when needed
- Update HtmlToDjot converter to output `: +` markers for multiple <dd> elements
- Add skip mechanism for intentional spec deviations in OfficialTestSuiteTest
(currently empty as we're fully spec compliant)
This approach gives users explicit control over when to create multiple
definitions vs multiple paragraphs within one definition, while maintaining
backwards compatibility with the djot spec.
Example:
```
: Term
First paragraph (same dd)
Second paragraph (same dd)
: +
Third paragraph (new dd)
```: + continuation marker for multiple dd elements in definition lists1 parent a537762 commit c841cd2
File tree
2 files changed
+61
-0
lines changed- tests
- TestCase/Parser
2 files changed
+61
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
31 | 42 | | |
32 | 43 | | |
33 | 44 | | |
| |||
135 | 146 | | |
136 | 147 | | |
137 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
138 | 155 | | |
139 | 156 | | |
140 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
207 | 251 | | |
208 | 252 | | |
209 | 253 | | |
| |||
0 commit comments