-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Describe the bug
I've found a strange change recommandation edge case issue. If a motion ends with word that contains a * it can happen, that the change recommandation won't work. Instead an error appears, that indicates a line inconsistency. The line seems not to exist.
After reloading the change reco or the motion, the problem will disappear.
How to Reproduce
- open a meeting
- open motions > create a motion with the content "Jemand musste Josef K. verleumdet haben, denn ohne dass er etwas Böses getan hätte,wurde er eines Morgens verhaftet. »Wie ein Hund! « sagte er, es war, als sollte die Scham ihn überleben. Als Gregor Samsa eines Morgens aus unruhigen Träumen erwachte, fand er sich in seinem Bett zu einem ungeheueren Ungeziefer verwandelt." > save motion
- open motion edit and add " Dabei sind Beamt*innen." (with the space at the start). The word Beamt*innen. should appear in a new line.
- add a change recommendation to the last line. Add a line break and the sentence "Und es war ihnen wie eine Bestätigung ihrer neuen Träume und guten Absichten, als am Ziele ihrer Fahrt die Tochter als erste sich erhob und ihren jungen Körper dehnte." > save it
- --> This will lead to a line inconsistency. -> Reload and it's gone.
Expected behavior
The line inconsistency should not happen.
Additional context
I've found this failure by finding the reproduction of another failure. The other failure consists of a strikethrough "Beamt*innen." by only adding the new part mentioned in step 4. - Hopefully the fix of this issue will fix this wrong behavior too.
I've also added this issue to the diff Meta.