Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | For the %string() substitution, encode newlines and carriage returns using backslash escapes. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
6385090072c9552ef9b034e71fda9ab3 |
User & Date: | drh 2019-04-08 20:14:04 |
Context
2019-04-09
| ||
13:11 | Update the built-in SQLite to the latest 3.28.0 alpha. check-in: 58675822f3 user: drh tags: trunk | |
2019-04-08
| ||
20:14 | For the %string() substitution, encode newlines and carriage returns using backslash escapes. check-in: 6385090072 user: drh tags: trunk | |
2019-04-01
| ||
01:57 | Documentation improvements. check-in: 38fa4334e3 user: drh tags: trunk | |
Changes
Changes to wapp.tcl.
151 151 } 152 152 if {[regsub -all {[{}]} $s {[wappInt-%HHchar \\&]} s]} { 153 153 set s [subst -novar -noback $s] 154 154 } 155 155 return $s 156 156 } 157 157 proc wappInt-enc-string {s} { 158 - return [string map {\\ \\\\ \" \\\" ' \\' < \\u003c} $s] 158 + return [string map {\\ \\\\ \" \\\" ' \\' < \\u003c \n \\n \r \\r} $s] 159 159 } 160 160 161 161 # This is a helper routine for wappInt-enc-url and wappInt-enc-qp. It returns 162 162 # an appropriate %HH encoding for the single character c. If c is a unicode 163 163 # character, then this routine might return multiple bytes: %HH%HH%HH 164 164 # 165 165 proc wappInt-%HHchar {c} {