Repository navigation
Commit 9fca6bb
fix(analyzer): treat a lone carriage return as a line break in quote spans
CommonMark ends a line at a lone CR as well, so a Markdown file with CR
line endings could still pair a prose quote with a later command line.
A single-line span now contains neither LF nor CR; the CR of a CRLF line
ending lies outside such a span, so single-line strings stay complete.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: elliottwaves-20 <[email protected]>1 parent bbeda8e commit 9fca6bb
2 files changed
Lines changed: 9 additions & 2 deletions
File tree
- src/skillspector/nodes/analyzers
- tests/nodes/analyzers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1674 | 1674 | | |
1675 | 1675 | | |
1676 | 1676 | | |
1677 | | - | |
1678 | | - | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
1679 | 1681 | | |
1680 | 1682 | | |
1681 | 1683 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
179 | 182 | | |
180 | 183 | | |
181 | 184 | | |
| |||
187 | 190 | | |
188 | 191 | | |
189 | 192 | | |
| 193 | + | |
| 194 | + | |
190 | 195 | | |
191 | 196 | | |
192 | 197 | | |
| |||
0 commit comments