Refactored parseSlideNodes to parse contentItems in two passes: one to directly parse the HTML, and the other one to make sure the resulting contentItem tree has the correct format (for example, by making sure every title has a wrapper section). This is a bit less efficient than doing it all at once, but it makes the code a lot easier to read, debug & maintain (since it is far easier to process js objects than HTML nodes).
Refactored parseSlideNodes to parse contentItems in two passes: one to directly parse the HTML, and the other one to make sure the resulting contentItem tree has the correct format (for example, by making sure every title has a wrapper section). This is a bit less efficient than doing it all at once, but it makes the code a lot easier to read, debug & maintain (since it is far easier to process js objects than HTML nodes).

OpenWebslides/OpenWebslides,OpenWebslides/OpenWebslides,OpenWebslides/OpenWebslides,OpenWebslides/OpenWebslides