@@ -103,11 +103,11 @@ void handleConf() {
103
103
auto &page = System::web_page;
104
104
105
105
pushHeader (F (" Yeelight Button Configuration" ));
106
- page += F (" <p>[ <a href=\" /conf\" >rescan</a> ] [ <a href=\" /save\" >unlink all</a> ]</p>" );
106
+ page += F (" <p>[ <a href=\" /conf\" >rescan</a> ] [ <a href=\" /save\" >unlink all</a> ]</p>\n " );
107
107
page += F (" <p><i>Scanning " );
108
108
page += System::getNetworkName ();
109
- page += F (" for Yeelight devices...</i></p>" );
110
- page += F (" <p><i>Hint: turn all bulbs off, except the desired ones, in order to identify them easily.</i></p>" );
109
+ page += F (" for Yeelight devices...</i></p>\n " );
110
+ page += F (" <p><i>Hint: turn all bulbs off, except the desired ones, in order to identify them easily.</i></p>\n " );
111
111
112
112
// Use chunked transfer to show scan in progress
113
113
System::web_server.setContentLength (CONTENT_LENGTH_UNKNOWN);
@@ -118,10 +118,10 @@ void handleConf() {
118
118
page += F (" bulb" );
119
119
if (num_bulbs != 1 )
120
120
page += ' s' ;
121
- page += F (" . Select bulbs to link from the list below.</p>" );
122
- page += F (" <form action=\" /save\" >" );
121
+ page += F (" . Select bulbs to link from the list below.</p>\n " );
122
+ page += F (" <form action=\" /save\" >\n " );
123
123
bulb_manager.printConfHTML (page);
124
- page += F (" <p><input type=\" submit\" value=\" Link\" /></p></form>" );
124
+ page += F (" <p><input type=\" submit\" value=\" Link\" /></p>\n </form>\n " );
125
125
pushFooter ();
126
126
System::web_server.sendContent (page);
127
127
System::web_server.sendContent (" " );
0 commit comments