A bug, though it might be on Calibre's end rather than FFF's.
To prevent making silly typos that break my replace_metadatas, I've started copying entries directly from the saved metadata longtext column. But then pasting it in personal.ini does this:
shouldn't it be pasting as plain-text?