# Incorrect Hanging Indent for RTL List Items Starting with Certain Characters

**URL:** <https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324>\
**Category:** Bug reports\
**Tags:** editor, repro, rtl, live-preview\
**Created:** [July 26, 2025, 9:37am UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324 "2025-07-26T09:37:48Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![MG250](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@MG250](https://forum.obsidian.md/u/MG250)\
**Post date:** [July 26, 2025, 9:37am UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/1 "2025-07-26T09:37:48Z")

</div>

Starting a list item with a date or a symbol followed by Arabic text causes an indentation issue in the following lines.

### Did you follow the troubleshooting guide? [Y/N]

Y

### Expected result

Proper indentation in lists that start with a date or a symbol followed by Arabic text.

### Actual result

Broken indentation in lists that start with a date or a symbol followed by Arabic text.

### Environment

SYSTEM INFO:  
Obsidian version: v1.8.10  
Installer version: v1.8.10  
Operating system: Windows 11 Pro 10.0.26100  
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

* * *

### Additional information

 ![2025-07-26_122829](https://forum.obsidian.md/uploads/default/original/3X/2/f/2f22c66461baf798386b89a97a277df4b3839d77.jpeg)

---

<div class="post-metadata">

**Author:** ![ariehen](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ariehen/32/46932_2.png) [@ariehen](https://forum.obsidian.md/u/ariehen)\
**Post date:** [July 26, 2025, 9:41am UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/2 "2025-07-26T09:41:29Z")

</div>

That green checkbox looks like you are using a community theme or plugin. Is that the case?

Just want to be sure where it’s coming from.

 ![IMG_9697](https://forum.obsidian.md/uploads/default/original/3X/5/a/5a529fe83c6f7a0667593cf56b77ddd2c4c1bdbc.jpeg)

---

<div class="post-metadata">

**Author:** ![MG250](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@MG250](https://forum.obsidian.md/u/MG250)\
**Post date:** [July 26, 2025, 9:52am UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/3 "2025-07-26T09:52:01Z")

</div>

No plugins. This is the built-in Windows Emoji Picker (`Win + .` shortcut).

![2025-07-26_124725](https://forum.obsidian.md/uploads/default/original/3X/c/c/cc3b30fc8bb49a9b3f914f77dc408edc95cb48ff.gif)

---

<div class="post-metadata">

**Author:** ![ariehen](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ariehen/32/46932_2.png) [@ariehen](https://forum.obsidian.md/u/ariehen)\
**Post date:** [July 26, 2025, 9:55am UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/4 "2025-07-26T09:55:09Z")

</div>

Good to know. Thanks!

---

<div class="post-metadata">

**Author:** ![MG250](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@MG250](https://forum.obsidian.md/u/MG250)\
**Post date:** [July 26, 2025, 10:43am UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/5 "2025-07-26T10:43:54Z")

</div>

More Info: I’ve noticed that starting a list with a numeral also triggers the issue, and that the indentation issue occurs only in Editing View (Live Preview - Source Mode), not in Reading View.

![2025-07-26_133631](https://forum.obsidian.md/uploads/default/original/3X/3/3/33b80eb10221ecfe35c2f78b4fe022c9c309b7d2.gif)

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [July 26, 2025, 1:02pm UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/6 "2025-07-26T13:02:12Z")

</div>

interesting, thanks!

---

<div class="post-metadata">

**Author:** ![MG250](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@MG250](https://forum.obsidian.md/u/MG250)\
**Post date:** [July 26, 2025, 3:44pm UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/7 "2025-07-26T15:44:20Z")

</div>

More Info: The same issue affects checkboxes in Editing Mode.

 ![2025-07-26_184352](https://forum.obsidian.md/uploads/default/original/3X/6/0/60c129b99187e937a20532f9666277459de734b6.png)

---

<div class="post-metadata">

**Author:** ![MG250](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@MG250](https://forum.obsidian.md/u/MG250)\
**Post date:** [August 1, 2025, 3:06pm UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/8 "2025-08-01T15:06:21Z")

</div>

- Inserting a **RIGHT-TO-LEFT MARK (U+200F)** Unicode character before a number, date, or symbol resolves the indentation issue in lists and checkboxes in **Live Preview Mode**.
- I toggled on the **Obsidian Console** (`Ctrl+Shift+I`) to compare the code with and without the `RLM` character.
- There is a difference in the CSS properties `text-indent` and `padding-inline-start`. Inserting the `RLM` character resets them to `-22px` and `22px`, respectively, which are the default values.

 ![2025-08-01_175512](https://forum.obsidian.md/uploads/default/original/3X/d/0/d0cae652e5b107322f23ae3365efb1d4bc777703.jpeg)

 ![2025-08-01_180159](https://forum.obsidian.md/uploads/default/original/3X/9/3/9313d2a34ed8c5c67847db81d24138fe6ae27efe.png)

---

<div class="post-metadata">

**Author:** ![MG250](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@MG250](https://forum.obsidian.md/u/MG250)\
**Post date:** [January 7, 2026, 10:58am UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/9 "2026-01-07T10:58:44Z")

</div>

Any news on this bug? Happy to provide more info if needed.

---

<div class="post-metadata">

**Author:** ![MG250](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@MG250](https://forum.obsidian.md/u/MG250)\
**Post date:** [July 4, 2026, 12:37pm UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/10 "2026-07-04T12:37:42Z")

</div>

The issue seems to be fixed and no longer reproducible on v1.13.1.

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [August 1, 2026, 12:38pm UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/11 "2026-08-01T12:38:28Z")

</div>

Closed on August 1, 2026, 12:38pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [August 11, 2026, 10:37pm UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/12 "2026-08-11T22:37:17Z")

</div>

Opened on August 11, 2026, 10:37pm UTC



---

<div class="post-metadata">

**Author:** ![MG250](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@MG250](https://forum.obsidian.md/u/MG250)\
**Post date:** [August 11, 2026, 8:53pm UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/13 "2026-08-11T20:53:28Z")

</div>

Regarding this [BR](https://forum.obsidian.md/t/indentation-issue-with-lists-that-start-with-a-symbol-or-date-followed-by-arabic-text-rtl/103324) that I reported was not reproducible anymore in 1.13.1.

The issue resurfaced in 1.13.6, and the last stable release that doesn’t have this issue is 1.13.4

**1.13.6**

![2026-08-11_23-49](https://forum.obsidian.md/uploads/default/original/3X/d/5/d570e6bb09f7922c87cf45aa62a4e359eccc2bd7.png)

**1.13.4 (Correct second-line indent)**

![2026-08-11_23-50](https://forum.obsidian.md/uploads/default/original/3X/8/0/800912126a6ddb6964a6f1326e29e53a4be4ec88.png)

### Environment

```auto
SYSTEM INFO:
	Obsidian version: 1.13.6
	Installer version: 1.13.6
	Operating system: Windows 11 Pro 10.0.26200
	Login status: logged in
	Language: en
	Catalyst license: insider
	Insider build toggle: on
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

```

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [August 11, 2026, 10:37pm UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/14 "2026-08-11T22:37:56Z")

</div>

we didn’t do anything to fix the first time

---

<div class="post-metadata">

**Author:** ![MG250](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@MG250](https://forum.obsidian.md/u/MG250)\
**Post date:** [September 3, 2026, 2:29pm UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/15 "2026-09-03T14:29:02Z")

</div>

@WhiteNoise

V1.14.0 brought a lot of fixes for RTL languages. Thank you very much!

I’m happy to do any suggested tests or trials if needed to help fix this issue. Thank you!

---

<div class="post-metadata">

**Author:** ![MG250](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@MG250](https://forum.obsidian.md/u/MG250)\
**Post date:** [September 11, 2026, 9:57pm UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/16 "2026-09-11T21:57:04Z")

</div>

More Info:

The issue in Live Preview/Source Mode is that a list line with `dir="rtl"` treats numbers or symbols following the list marker as if they were part of it, causing `text-indent` and `padding-inline-start` values to increase as more numbers are added. The following GIF compares list lines with RTL and LTR attributes, showing how properties in lines with the RTL attribute change as numbers are added or removed, while lines with the LTR attribute remain unchanged.

![2026-09-12_003020](https://forum.obsidian.md/uploads/default/original/3X/1/4/1473be24cb406bcc10e2ffaea39f9fcb2815b92d.gif)

I’m using this CSS snippet that targets RTL lines as a workaround.

```css
.workspace {
    --bullet-base: -24px;
    --ol-base: -30px;
    --task-base: -32px;
    --indent-step: 19px;
}

.HyperMD-list-line[dir="rtl"] {
    text-indent: var(--rtl-list-indent) !important;
    padding-inline-start: calc(-1 * var(--rtl-list-indent)) !important;
}

/* Unordered Lists */

.HyperMD-list-line-1[dir="rtl"]:has(.cm-formatting-list-ul) { --rtl-list-indent: var(--bullet-base); }
.HyperMD-list-line-2[dir="rtl"]:has(.cm-formatting-list-ul) { --rtl-list-indent: calc(var(--bullet-base) - (var(--indent-step) * 1)); }
.HyperMD-list-line-3[dir="rtl"]:has(.cm-formatting-list-ul) { --rtl-list-indent: calc(var(--bullet-base) - (var(--indent-step) * 2)); }
.HyperMD-list-line-4[dir="rtl"]:has(.cm-formatting-list-ul) { --rtl-list-indent: calc(var(--bullet-base) - (var(--indent-step) * 3)); }
.HyperMD-list-line-5[dir="rtl"]:has(.cm-formatting-list-ul) { --rtl-list-indent: calc(var(--bullet-base) - (var(--indent-step) * 4)); }
.HyperMD-list-line-6[dir="rtl"]:has(.cm-formatting-list-ul) { --rtl-list-indent: calc(var(--bullet-base) - (var(--indent-step) * 5)); }
.HyperMD-list-line-7[dir="rtl"]:has(.cm-formatting-list-ul) { --rtl-list-indent: calc(var(--bullet-base) - (var(--indent-step) * 6)); }
.HyperMD-list-line-8[dir="rtl"]:has(.cm-formatting-list-ul) { --rtl-list-indent: calc(var(--bullet-base) - (var(--indent-step) * 7)); }
.HyperMD-list-line-9[dir="rtl"]:has(.cm-formatting-list-ul) { --rtl-list-indent: calc(var(--bullet-base) - (var(--indent-step) * 8)); }
.HyperMD-list-line-10[dir="rtl"]:has(.cm-formatting-list-ul) { --rtl-list-indent: calc(var(--bullet-base) - (var(--indent-step) * 9)); }

/* Ordered Lists */

.HyperMD-list-line-1[dir="rtl"]:has(.cm-formatting-list-ol) { --rtl-list-indent: var(--ol-base); }
.HyperMD-list-line-2[dir="rtl"]:has(.cm-formatting-list-ol) { --rtl-list-indent: calc(var(--ol-base) - (var(--indent-step) * 1)); }
.HyperMD-list-line-3[dir="rtl"]:has(.cm-formatting-list-ol) { --rtl-list-indent: calc(var(--ol-base) - (var(--indent-step) * 2)); }
.HyperMD-list-line-4[dir="rtl"]:has(.cm-formatting-list-ol) { --rtl-list-indent: calc(var(--ol-base) - (var(--indent-step) * 3)); }
.HyperMD-list-line-5[dir="rtl"]:has(.cm-formatting-list-ol) { --rtl-list-indent: calc(var(--ol-base) - (var(--indent-step) * 4)); }
.HyperMD-list-line-6[dir="rtl"]:has(.cm-formatting-list-ol) { --rtl-list-indent: calc(var(--ol-base) - (var(--indent-step) * 5)); }
.HyperMD-list-line-7[dir="rtl"]:has(.cm-formatting-list-ol) { --rtl-list-indent: calc(var(--ol-base) - (var(--indent-step) * 6)); }
.HyperMD-list-line-8[dir="rtl"]:has(.cm-formatting-list-ol) { --rtl-list-indent: calc(var(--ol-base) - (var(--indent-step) * 7)); }
.HyperMD-list-line-9[dir="rtl"]:has(.cm-formatting-list-ol) { --rtl-list-indent: calc(var(--ol-base) - (var(--indent-step) * 8)); }
.HyperMD-list-line-10[dir="rtl"]:has(.cm-formatting-list-ol) { --rtl-list-indent: calc(var(--ol-base) - (var(--indent-step) * 9)); }

/* Checkbox Lists */

.HyperMD-list-line-1[dir="rtl"].HyperMD-task-line { --rtl-list-indent: var(--task-base); }
.HyperMD-list-line-2[dir="rtl"].HyperMD-task-line { --rtl-list-indent: calc(var(--task-base) - (var(--indent-step) * 1)); }
.HyperMD-list-line-3[dir="rtl"].HyperMD-task-line { --rtl-list-indent: calc(var(--task-base) - (var(--indent-step) * 2)); }
.HyperMD-list-line-4[dir="rtl"].HyperMD-task-line { --rtl-list-indent: calc(var(--task-base) - (var(--indent-step) * 3)); }
.HyperMD-list-line-5[dir="rtl"].HyperMD-task-line { --rtl-list-indent: calc(var(--task-base) - (var(--indent-step) * 4)); }
.HyperMD-list-line-6[dir="rtl"].HyperMD-task-line { --rtl-list-indent: calc(var(--task-base) - (var(--indent-step) * 5)); }
.HyperMD-list-line-7[dir="rtl"].HyperMD-task-line { --rtl-list-indent: calc(var(--task-base) - (var(--indent-step) * 6)); }
.HyperMD-list-line-8[dir="rtl"].HyperMD-task-line { --rtl-list-indent: calc(var(--task-base) - (var(--indent-step) * 7)); }
.HyperMD-list-line-9[dir="rtl"].HyperMD-task-line { --rtl-list-indent: calc(var(--task-base) - (var(--indent-step) * 8)); }
.HyperMD-list-line-10[dir="rtl"].HyperMD-task-line { --rtl-list-indent: calc(var(--task-base) - (var(--indent-step) * 9)); }

```

---

<div class="post-metadata">

**Author:** ![MG250](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@MG250](https://forum.obsidian.md/u/MG250)\
**Post date:** [October 2, 2026, 8:39am UTC](https://forum.obsidian.md/t/incorrect-hanging-indent-for-rtl-list-items-starting-with-certain-characters/103324/17 "2026-10-02T08:39:26Z")

</div>

This is a summary of all the important information in the thread.

1. This is an editor issue with lists (unordered lists, ordered lists, and task lists) that have **RTL** as their base direction. It only affects Live Preview and Source Mode. Reading Mode is not affected.
2. The editor treats some characters (such as numbers, emojis, and some others) that follow the list marker and its space as if they were part of, or an extension of, the list marker. As a result, the `text-indent` and `padding-inline-start` values increase or decrease as more characters are added or removed.
3. This issue ceases to exist if either of the following happens:
  1. A second space is inserted after the list marker (`-`, `*`, `+`, `- []`, `1.`) and it’s space.
  2. An RLM (U+200F) (A invisible unicode character with strong RTL directionality) is inserted after the list marker and it’s space.

4. A few examples of the **problematic** characters (inserting them after the list marker and its space **causes** a hanging indent issue):

```txt
1 2 3
# $ £ %
💡🚀✅❌🔴🟠

```

1. A few examples of the **non-problematic** characters (inserting them after the list marker and its space **doesn’t cause** a hanging indent issue):

```txt
! @ ( ) { } [] < > / \ | ~ = + - ^

```

1. Examples of an **RTL** list item (which has the issue) and an **LTR** list item (which doesn’t have the issue) that start with a number (one of the problematic characters):

```txt
- 123 اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية اللغة العربية

- 123 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus non vestibulum ipsum, quis dignissim diam. Nunc nisi turpis, euismod quis ultricies sit amet, aliquam nec urna. Nulla eu sem sed mauris dignissim rutrum. Fusce sollicitudin sapien in nunc porta, at lobortis massa viverra. Donec ornare at tellus sit amet interdum. Nulla facilisis suscipit massa vel fermentum. Cras lobortis mauris sit amet dolor lobortis mattis. Aliquam blandit lacus ut leo sollicitudin, sed luctus risus feugiat. Etiam eget nulla nisl.

```

1. You can already see the issue by pasting these two list items into the editor. You can also experiment by inserting any of the other problematic characters after the list marker and its space and see how doing so causes an issue with the **RTL** list item.

 ![2026-10-02_113345](https://forum.obsidian.md/uploads/default/original/3X/4/1/41624a8549bea91d17c56b5462fead27d9a82ec7.png)
