remy / txt2bas

ZX Spectrum BASIC conversion tooling (specific support for NextBASIC)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apostrophe being swallowed/breaking in txt2bas

remy opened this issue · comments

Example:

curl -X POST -d '10 PRINT "Remy"'\''"sharp"' https://zx.remysharp.com/txt2bas | hexdump -C

Though I half suspect this is the bare body posting that's catching this out…

Similar (ish) issue when posted as text= - the (old) lexer doesn't know about apostrophies.

Fixed and live