Resolve "Fix parsing of xywh selector param"
Closes #1744 (closed)
just refactoring, no changes to the actual functionality
btw… apparently the pug compiler fails silently if you're using optional chaining in the template and node runs without error but not serving anything… took me just 30 min to figure that out