foonathan / lexy

C++ parsing DSL
https://lexy.foonathan.net
Boost Software License 1.0
991 stars 66 forks source link

Playground site fails to load samples #193

Closed afeinman-snap closed 4 months ago

afeinman-snap commented 6 months ago

If the playground is opened to load a specific sample (as is done in a few places in the documentation), the Load sample box no longer works. Mozilla shows javascript errors The following link breaks the page: https://lexy.foonathan.net/playground/?example=scan The regular link works: https://lexy.foonathan.net/playground/ Additionally, the sample names in the dropdown are prefixed with "/" - the likely problem is this line

foonathan commented 4 months ago

Thanks! Fixed.