Added JavaScript-friendly ssi /*#tag*/.

This commit is contained in:
Lucas Vinicius Hartmann
2018-06-13 11:05:58 +02:00
committed by Simon Goldschmidt
parent 58f928a181
commit 0acf37fd75
2 changed files with 27 additions and 12 deletions

View File

@@ -150,7 +150,8 @@ extern void httpd_cgi_handler(struct fs_file *file, const char* uri, int iNumPar
* resemble an HTML comment but this syntax does not constitute a comment
* within JavaScript and, hence, leaving the tag in place will result in
* problems in these cases. In order to avoid these problems, define
* LWIP_HTTPD_SSI_INCLUDE_TAG as zero in your lwip options file.
* LWIP_HTTPD_SSI_INCLUDE_TAG as zero in your lwip options file, or use JavaScript
* style block comments in the form / * # name * / (without the spaces).
*/
typedef u16_t (*tSSIHandler)(
#if LWIP_HTTPD_SSI_RAW