mmontone / cl-forms

Web forms handling library for Common lisp
http://mmontone.github.io/cl-forms
MIT License
43 stars 5 forks source link

Generated pdf has wrong backtick #10

Open wmealing opened 1 year ago

wmealing commented 1 year ago

Gday,

I've only begun learning this tool. I have found that the generated pdf has a problem with the example generated code.

In section 3.1. Basics

 (with-output-to-string (forms.who:*html*)
        (let ((form (forms:find-form `fields-form)))
                (forms:with-form-renderer :who
                   (forms:render-form form))))

Should be.

 (with-output-to-string (forms.who:*html*)
        (let ((form (forms:find-form 'fields-form)))
                (forms:with-form-renderer :who
                   (forms:render-form form))))

Note the change in backtick before fields-forms.

Trying these at the repl as a copy-and-paste from the pdf was what made me aware of the issue.

Thanks for your time. Please feel free to close this issue if I have made it in error.

mmontone commented 1 year ago

Ah. I'll revise if it is a general problem of docs generation, or just that example. I'll correct that, and thanks for reporting.