Priority: Normal
Current State: New
Released In: n/a
Target Release:
--
JanKlusak - 15 Apr 2020
If there is a comment macro at the end of a page, its position is not correctly found.
This is easily reproducible, if there is a comment macro with type "above" at the end of a page. The next comment is inserted incorrectly below the macro.
This is because one of the serializers removes the trailing endline (no idea if this is correct). When the comment plugin tries to search for the comment position, it expects that the newline is there. As it cannot find the comment (because of missing newline), it goes to fallback, so it inserts the comment at the end of the page.
Attached a patch the fixes the issue.
--
JanKlusak - 15 Apr 2020