Still having issues with calendar includes when saving

Wappler: v5.1.1
OS: MacOS M1
Server: PHP/MySQL

I’m afraid I’m still having the issue where the calendar includes are changing when I save the file which then breaks it on the site. This is as previous posted here: Calendar implementation in v5 beta

Here’s a short screencast showing what happens:

I’m having to keep a copy of the <head> code in a separate text file and replace it using VSCode every time I save which is somewhat painful!

So is the issue that line 62 disappears?
Can you post both working and mot working code here?

It seems to be just moving one line. I’ve attached two text files which will hopefully make it easier for you to see the changes.

before_and_after.zip (1.5 KB)