Folding Text Crash on duplicating html file in folding text

I have a html file that I can open, but when I try to duplicate and save it, FT crashes.


I’m not sure what’s going on, but can you replicate this bug on a small piece of text that you can share with me? Also, does duplicating normal FoldingText files work for you?