Closed jtojnar closed 1 year ago
This will make it easier to fix corrupted history files.
For example, with this fix I get:
Expected state 5, but got 4 in file “/home/jtojnar/.local/share/GPaste/history.xml” at line 5117, column 1.
which pointed me to:
<item kind="Text" uuid="27eff152-c01a-49bd-8e55-4dbad47f63c9"> <value><![CDATA[previousAttrs]]></value> <value mime="text-html"><![CDATA[]]></value> </item>
Ideally, we would also use names for the parser states but that would probably require either manual conversion table or something like glib-mkenums.
Thanks, will give it a look next week
This will make it easier to fix corrupted history files.
For example, with this fix I get:
which pointed me to: