Steps to reproduce
Put a string like /\d+\.\S/.+
below an unordered list after at least one blank line with no indentation:
- A
0.B
Did you follow the troubleshooting guide? [Y/N]
Yes.
Expected result
The string becomes an paragraph independent of the list:
<ul>
<li>A</li>
</ul>
<p>0.B</p>
Attributes and <div>
s are omitted.
Actual result
The string becomes an paragraph within the list item:
<ul>
<li>
<p>A</p>
<p>0.B</p>
</li>
</ul>
Environment
I can reproduce this on Windows sandbox vault:
SYSTEM INFO:
Obsidian version: v1.5.12
Installer version: v1.4.13
Operating system: Windows 10 Home 10.0.19045
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: off
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
and Android app:
SYSTEM INFO:
Operating system: android 13 (Sony XQ-BC42)
Obsidian version: 1.5.12 (134)
API version: v1.5.12
Login status: logged in
Catalyst license: none
Live preview: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 4
Plugins enabled: 4
1: Templater v1.16.0
2: Show Whitespace v0.3.1
3: Calendar v1.5.10
4: Linter v1.23.0
RECOMMENDATIONS:
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Additional information
None.