index.tpl
...<img src="cats/kitten-loves-toy.jpg"><br />
</p>
</div>
</body></html>
p>
</div>
</body></html>
another eg: led.tpl
...<input type="submit" name="led" value="0">
</form>
</div>
</body></html>
/body></html>
Of corse the .TPL files are correct. The cat pictures are displayed correctly. I checked the files generated by ESPHTTPD with some browsers and also with the wget command. I already updated the esphttp files with most recent from git and allways the same result.
I´m using The Unnoficial Development Kit, SDK 2.2.1, module ESP-12F. I compiled using OUTPUT_TYPE=separate and same result if I use OUTPUT_TYPE=combined. I can´t compile with OUTPUT_TYPE=ota coz generate some errors:
user/user_main.c:106:2: error: stray '\' in program
.tagName=OTA_TAGNAME
^
user/user_main.c:106:2: error: stray '\' in program
Can someone help me with the duplicated code when serving the HTML pages?