Bug: Newlines in tables result in tag names with <br> at the end

When I’m writing inside a table, if I type out multiple tags by typing a tag name and then hitting enter, Bear will add a <br/> to the name of the tag. I believe this is because hitting enter for a newline inside a table cell is a slightly different action than hitting enter for a new line in regular text.

For example if you type these two tags out in a table:

In the left sidebar, you’ll see the tags some/tag/name<br/> (the other tag will be correct)
CleanShot 2024-06-12 at 17.12.20@2x

The way to fix this is to append # to the end of the first tag name, like so:
CleanShot 2024-06-12 at 17.12.55@2x

But I would expect that to be unnecessary and for Bear to correctly handle multiple tags with newlines inside tables.

hmmmm I cannot reproduce this :thinking:

Are you on macOS? That’s where I’m hitting the issue.

Here’s a GIF of what I’m doing exactly, and the result again:
2024-06-12 17.49.45

CleanShot 2024-06-12 at 17.49.57@2x

Ah yes

Maybe it is not registering the tag to be finished…?

1 Like

Yes, <br> is used as a workaround to allow for line breaks inside table cells. But in this case it is also added to the tag which is a bug. It will be fixed. Thanks for reporting!

1 Like