Fossil SCM

Fix a comment on the "html" and "puts" TH1 commands. Before this fix, the meanings of the two commands were reversed.

drh 2018-10-12 16:14 trunk
Commit 35563f3db308ca3381623642af7e97e2bf3b87788ef21f68e13c8bae62be27d8
1 file changed +1 -1
+1 -1
--- src/th_main.c
+++ src/th_main.c
@@ -416,11 +416,11 @@
416416
417417
/*
418418
** TH1 command: puts STRING
419419
** TH1 command: html STRING
420420
**
421
-** Output STRING escaped for HTML (html) or unchanged (puts).
421
+** Output STRING escaped for HTML (puts) or unchanged (html).
422422
*/
423423
static int putsCmd(
424424
Th_Interp *interp,
425425
void *pConvert,
426426
int argc,
427427
--- src/th_main.c
+++ src/th_main.c
@@ -416,11 +416,11 @@
416
417 /*
418 ** TH1 command: puts STRING
419 ** TH1 command: html STRING
420 **
421 ** Output STRING escaped for HTML (html) or unchanged (puts).
422 */
423 static int putsCmd(
424 Th_Interp *interp,
425 void *pConvert,
426 int argc,
427
--- src/th_main.c
+++ src/th_main.c
@@ -416,11 +416,11 @@
416
417 /*
418 ** TH1 command: puts STRING
419 ** TH1 command: html STRING
420 **
421 ** Output STRING escaped for HTML (puts) or unchanged (html).
422 */
423 static int putsCmd(
424 Th_Interp *interp,
425 void *pConvert,
426 int argc,
427

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button