Pages-sitemap-code editor

openHAB 4.2.0 Build #3974
When creating a sitemap type page, everything works well in design mode, but in code mode it doesn’t work at all. This broke a few weeks ago, but haven’t had time to look at it in more detail. Now I updated to the latest snapshot, cleared the cache, restarted OpenHAB several times, the problem remained. How can this problem be solved? Creating a sitemap in designer mode is still a pleasure, I would like to have a quick option like code mode.