Describe the bug
The motion diff of a motion with a nested list and a dot and an amendment with a change to second level of the
nested list is an all deleted (red) and everything new added (green).
I also see an warn message in the console:
Added sequential number mapping view without meeting id
and the amendment hasn't got a title.
How to Reproduce
- Go the motion list in a meeting
- Create a new motion with following text:
<ul><li>Ebene 1<ul><li>Ebene 2.1</li><li>Ebene 2.2</li></ul></li></ul>
- Create an amendment to this motion with
<ul><li>Ebene 1<ul><li>Ebene 2.1 foo</li><li>Ebene 2.2</li></ul></li></ul>. The foo is the only change
- Look at the motion detail view
Expected behavior
It should work like:
motion text: <ul><li>Ebene 1<ul><li>Ebene 2A</li><li>Ebene 2B</li></ul></li></ul>
amendment text: <ul><li>Ebene 1<ul><li>Ebene 2A foo</li><li>Ebene 2B</li></ul></li></ul>
So it should only show the foo in green (as change).
Additional context
I think it is a problem with the HTML Diff stuff
motion-txt:
<ul><li>Ebene 1<ul><li>Ebene 2.1</li><li>Ebene 2.2</li></ul></li></ul>
amendment-text
<ul><li>Ebene 1<ul><li>Ebene 2.1 foo</li><li>Ebene 2.2</li></ul></li></ul>
Describe the bug
The motion diff of a motion with a nested list and a dot and an amendment with a change to second level of the
nested list is an all deleted (red) and everything new added (green).
I also see an warn message in the console:
and the amendment hasn't got a title.
How to Reproduce
<ul><li>Ebene 1<ul><li>Ebene 2.1</li><li>Ebene 2.2</li></ul></li></ul><ul><li>Ebene 1<ul><li>Ebene 2.1 foo</li><li>Ebene 2.2</li></ul></li></ul>. Thefoois the only changeExpected behavior
It should work like:
motion text:
<ul><li>Ebene 1<ul><li>Ebene 2A</li><li>Ebene 2B</li></ul></li></ul>amendment text:
<ul><li>Ebene 1<ul><li>Ebene 2A foo</li><li>Ebene 2B</li></ul></li></ul>So it should only show the
fooin green (as change).Additional context
I think it is a problem with the HTML Diff stuff
motion-txt:
amendment-text