Strikethrough removal on last line of file with markdown selected crashes command

by pointing outside of document

Steps to reproduce

  1. strikethrough the last line of a note
  2. select entire line including the generated markdown
  3. then strikethrough again to lift effect

image

Actual result

no effect and command crashes
image

Environment

SYSTEM INFO:
	Obsidian version: v1.5.12
	Installer version: v1.5.3
	Operating system: #116-Ubuntu SMP Wed Apr 17 09:17:56 UTC 2024 5.15.0-106-generic
	Login status: logged in
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 13
	Plugins enabled: 11
		1: Filename Heading Sync v1.9.1
		2: Templater v2.2.4
		3: File Hider v1.1.1
		4: Recent Files v1.3.10
		5: Hider v1.3.1
		6: Custom File Explorer sorting v2.1.8
		7: fxctx v9.1.1
		8: fxf v9.1.1
		9: Update modified date (fork) v1.3.2
		10: Quick New Note v1.0.0
		11: Camera v1.8.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.
``

I see this using the Toggle strikethrough command with text selected.

CleanShot 2024-05-11 at 10.23.56

thanks

1 Like

will be fixed 1.6.2