Opening the HTML editor for fields containing break tags marks a note as modified. Meanwhile, it can be observed that the text in the browser’s Sort Field column changes.
E.g., if the content of a note’s sort field is “foo<br>bar”, the column’s content is “foo bar”. However, after opening and closing the HTML editor, the column changes to “foobar”. It changes back to “foo bar” by itself after a while or immediately when another editor field is focused.
I could reproduce this behaviour on all versions I have installed (2.1.22 to 2.1.45).
Can it be resolved?
beautifulsoup is converting the <br> to a <br/>, and the regex was not handling this case. WebEngine converts it back to a <br> when a field is unfocused
Thanks for the fix. The Sort Field column is now stable. Notes still are marked as modified just by opening and closing the HTML editor, though. Can this be fixed as well?
If you don’t know straightaway I can investigate myself. I only thought I’d ask first since this issue has existed for so long and you might already be aware of it.