puzzmo-com / xd-crossword-tools

A single dependency for using the xd file format for crosswords: convertors (puz -> xd, xd -> json, json -> xd, json -> puz) and editor tooling for xd
MIT License
36 stars 4 forks source link

Possible to get null control characters from the lib #7

Open orta opened 1 year ago

orta commented 1 year ago

I have a .puz file 7 29 20 AL which adds a null terminator on one of the rebuses

This is stripped out in our code further down the line via .replace(new RegExp("\u0000", "g"), "") but not shipping a null from the lib seems better