[html-template-devel] external format in an included template printer

Function #'create-template-printer has :external-format key parameter which is used when opening a file with a template to be filled. But if that file <tmpl_include>s some other file, than :external-format supplied is not used when opening the second file as it should be. In #'create-template-printer-aux function #'create-template-printer function is called with an included file only. May be it is worth to make a special variable like *hunchentoot-default-external-format* for default value of :external-format parameter for #'create-template-printer function. In SBCL special variable sb-impl::*default-external-format* can be binded to an external-format required as a workaround. -- Registered Linux User #124759

On Thu, 1 Mar 2007 22:15:31 +1000, Igor Plekhov <penguin@ocean.vvo.ru> wrote:
Function #'create-template-printer has :external-format key parameter which is used when opening a file with a template to be filled.
But if that file <tmpl_include>s some other file, than :external-format supplied is not used when opening the second file as it should be.
Yes, it makes sense to change that. I've done that in the new version. Thanks, Edi.
participants (2)
-
Edi Weitz
-
Igor Plekhov