mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-21 11:30:01 +00:00
Fixed comment for mg_template()
This commit is contained in:
1 parent
5a04ab2c56
commit
2609a2ab72
1 file changed
-2
@@ -2181,8 +2181,6 @@ int mg_match_prefix(const char *pattern, int pattern_len, const char *str) {
|
||||
|
||||
// This function prints HTML pages, and expands "{{something}}" blocks
|
||||
// inside HTML by calling appropriate callback functions.
|
||||
// The output is done by the output function. In production case, the output
|
||||
// function sends data to mongoose. In test case, it prints into a string.
|
||||
// Note that {{@path/to/file}} construct outputs embedded file's contents,
|
||||
// which provides SSI-like functionality.
|
||||
void mg_template(struct mg_connection *conn, const char *s,
|
||||
|
||||
Reference in new issue
Block a user