From 84c484099366bb963fc29f036157519070989c6f Mon Sep 17 00:00:00 2001 From: DeltaLima Date: Sat, 2 Nov 2024 17:31:51 +0100 Subject: [PATCH] ESPAsyncwebserver template processor bug - size related? I have a bug on the /system/ page, I also noticed it on /wifi/ page sometimes, not reproducable everytime. So i am glad, the bug also appears here 100% reproducable I inserted `
  • 🌡️ Sensor configuration
  • ` to the /system/ html template. With this included, the template processor will corrupt the final output when processing %FOOTER%, which got inserted from AddHeaderFooter() function. the rendered output, damaged, looks like this ```
    ``` notice that the div on the second last line is broken at `class` - got `
    `. It should look like this: ``` ``` --- Arduino/CanGrow/include/Webserver/Page_system_HTML.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Arduino/CanGrow/include/Webserver/Page_system_HTML.h b/Arduino/CanGrow/include/Webserver/Page_system_HTML.h index a680534..18ff51a 100644 --- a/Arduino/CanGrow/include/Webserver/Page_system_HTML.h +++ b/Arduino/CanGrow/include/Webserver/Page_system_HTML.h @@ -54,6 +54,7 @@ const char* Page_system_HTML PROGMEM = R"(%HEADER% %FOOTER%)"; const char* Page_system_HTML_SUBNAV PROGMEM = R"(