Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Starting a new line from bullet list item with math equation with characters '-', '[', ']' and ' ' causes the new line to be a check box #529

Open
gammag4 opened this issue Jun 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gammag4
Copy link

gammag4 commented Jun 25, 2024

Describe the bug

When you write an equation in a bullet list with the characters '-', '[', '', ']' and ' ' in a sequence (there may be other characters in between these) and you hit enter to create a new line, the new line becomes a checkbox, not a bullet list.
It seems like it thinks the sequence is a "- [ ]".

To Reproduce

  1. Create new file in obsidian
  2. Write this line in the file: "- -[] "
  3. With the cursor at the end of the line, hit enter
  4. See error

Expected behavior

The new line should be a bullet list.

Environment

  • OS: Fedora 39
  • Obsidian Version: 1.6.3
  • Plugin Version: 4.8.1

Additional context

Some tests I did with the respective result below (either a checkbox or a bullet item):

- The preimage of $E$ is: $f^{-1}[E] =$
- [ ] 

- $-[] $
- 

- $-[a] $
- [ ] 

- $-[b] a$
- [ ] 

- $- a [t]est $
- 

- $- a [t] est$
- [ ] 

- $- a [t ] est$
- 

- $- test [ ] test$
- [ ] 

- - [ ] 
- [ ] 
@gammag4 gammag4 added the bug Something isn't working label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant