Commit ac43db8
Fix matchInContainer false positives
The function should match only the beginnings of lines.
For example, see this testcase:
```
:::spoiler
here is a :::
:::
:::
```
The last line should be completed.
Without this patch, the third line is completed and the last is not.
Signed-off-by: Tamotsu Takahashi <ttakah@gmail.com>1 parent cebd5e7 commit ac43db8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3137 | 3137 | | |
3138 | 3138 | | |
3139 | 3139 | | |
3140 | | - | |
| 3140 | + | |
3141 | 3141 | | |
3142 | 3142 | | |
3143 | 3143 | | |
| |||
0 commit comments