View Single Post
Old 11-27-2023, 05:13 AM   #12
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,488
Karma: 28005164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Well, the correct solution is to use the correct escaping algorithm for strings in toml. Sadly the python stdlib stupidly doesnt have a way to write toml despite python blessing toml as its build configuration format. I dont know what's going on in python land these days but they really do some of the most boneheaded things.

This should fix it as a practical matter
https://github.com/kovidgoyal/calibr...a3416b0bacfb8d
kovidgoyal is offline   Reply With Quote