Fix appending state to issuable references
What does this MR do?
Ignore nodes with no children. Append directly to the node instead of the last child of the node to avoid inheriting formatting from the last child.
Does this MR meet the acceptance criteria?
[ ] Changelog entry added, if necessary[ ] Documentation created/updated[ ] API support added- Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together