# Editor: an unclosed $$ inside a paragraph turns the following paragraphs, lists and quotes into math

**URL:** <https://forum.obsidian.md/t/editor-an-unclosed-inside-a-paragraph-turns-the-following-paragraphs-lists-and-quotes-into-math/119755>\
**Category:** Bug reports\
**Created:** [October 24, 2026, 12:25am UTC](https://forum.obsidian.md/t/editor-an-unclosed-inside-a-paragraph-turns-the-following-paragraphs-lists-and-quotes-into-math/119755 "2026-10-24T00:25:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnaoumov](https://forum.obsidian.md/user_avatar/forum.obsidian.md/mnaoumov/32/22325_2.png) [@mnaoumov](https://forum.obsidian.md/u/mnaoumov)\
**Post date:** [October 24, 2026, 12:25am UTC](https://forum.obsidian.md/t/editor-an-unclosed-inside-a-paragraph-turns-the-following-paragraphs-lists-and-quotes-into-math/119755/1 "2026-10-24T00:25:12Z")

</div>

### Steps to reproduce

Paste this into a note and look at it in Source mode and Live Preview, then in Reading view:

```markdown
Cost is $$5 or more.

- item

> quote

Later text with $$ in it.

```

### Did you follow the troubleshooting guide?

Yes (reproduced in the sandbox vault, no community plugins).

### Expected result

A `$$` that is not closed in its paragraph stays plain text, as Reading view shows it, and the blocks after the paragraph are unaffected.

### Actual result

The editor keeps the math open past the end of the paragraph, over the blank lines, the list item and the quote, up to the next `$$` anywhere later in the note. Everything in between is styled as math in Source mode.

Live Preview is worse: it renders `Cost is`, then one display math block holding `5 or more. - item > quote Later text with` (typeset as math, spaces gone), then ` in it.`. The list item and the quote are gone.

Reading view shows four ordinary blocks: the paragraph with a literal `$$`, the list, the quote and the last paragraph.

An unclosed `%%` mid-line does the same with comments (reported separately).

### Environment

```auto
SYSTEM INFO:
	Obsidian version: 1.14.5
	Installer version: 1.14.4
	Operating system: Windows 11 Pro 10.0.26300
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

```

Sandbox vault, no community plugins, default theme and settings.

### Additional information

Related: [Block Math Syntax discrepancy between editor and reading mode (LaTeX)](https://forum.obsidian.md/t/113922), which covers `$$` math the editor shows on a line with other text; this report is about a `$$` that never closes and the blocks after it.

`$$` in prose (prices, shell variables) is common, so one stray `$$` can turn a long stretch of a note into one math block in Live Preview.

Source mode:

 ![08-unclosed-inline-display-math-runs-on-1](https://forum.obsidian.md/uploads/default/original/3X/2/7/27db5ee182578daf028a5dfe1c3c8d8f8595181b.png)

Live Preview:

 ![08-unclosed-inline-display-math-runs-on-2](https://forum.obsidian.md/uploads/default/original/3X/5/9/5967c526c94eb635ccc0cbddaa1b6e0707b8d617.png)

Reading view:

 ![08-unclosed-inline-display-math-runs-on-3](https://forum.obsidian.md/uploads/default/original/3X/1/2/12cbebd5c530b89f1431c31d6c296225a10a07b9.png)
