Changed HTML mode output to use lowercase tags making good on the XHTML output promise (the DTDs indeed mandate lowercase) and closing #450. (CVS 5288)
FossilOrigin-Name: e07ed82caf5e4706ef564271830112d31e8cff7c
This commit is contained in:
parent
bfccf423b5
commit
d3d259dcb7
12
manifest
12
manifest
@ -1,5 +1,5 @@
|
||||
C Added\sldconfig\sinvocations\sfor\spostinstall\sand\spostuninstall.\sUpdated\spackage\sURL\sand\sdescription\sto\smatch\sthe\scurrent\swebsite.\s(CVS\s5287)
|
||||
D 2008-06-23T20:55:21
|
||||
C Changed\sHTML\smode\soutput\sto\suse\slowercase\stags\smaking\sgood\son\sthe\sXHTML\soutput\spromise\s(the\sDTDs\sindeed\smandate\slowercase)\sand\sclosing\s#450.\s(CVS\s5288)
|
||||
D 2008-06-23T21:18:11
|
||||
F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
|
||||
F Makefile.in ff6f90048555a0088f6a4b7406bed5e55a7c4eff
|
||||
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
||||
@ -141,7 +141,7 @@ F src/prepare.c aba51dad52308e3d9d2074d8ff4e612e7f1cab51
|
||||
F src/printf.c 8b063da9dcde26b7c500a01444b718d86f21bc6e
|
||||
F src/random.c 5c754319d38abdd6acd74601ee0105504adc508a
|
||||
F src/select.c ea3e5e233cf16f4cb43f6ec35972683ae7bc03f3
|
||||
F src/shell.c a12ea645271b7876c8f080146f48e20b00d367ec
|
||||
F src/shell.c 3f3c184e2fd57990bcb8f2c2877ae7a4b3fd6591
|
||||
F src/sqlite.h.in 6a80d00621a43271f01c77eb42bbf57e0f52051b
|
||||
F src/sqlite3ext.h f162a72daef5ebf8b211fe8c0ec96e85d22fbf9b
|
||||
F src/sqliteInt.h 0129e546b43a06844d1d66fd9d9b3090676d0873
|
||||
@ -592,7 +592,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
|
||||
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
|
||||
F tool/speedtest8.c 1dbced29de5f59ba2ebf877edcadf171540374d1
|
||||
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
|
||||
P f8238770bf41e17014c6de05363b759304fc80de
|
||||
R fcfbac9c8268428de2dba0adbe9d771b
|
||||
P 66529ae3a21ea8c57d3f50cdf6e1e8929fd7e437
|
||||
R 7e0310c2f1b98ef65fc65f43220083f2
|
||||
U mihailim
|
||||
Z e091e71e284c3f06dabd36f1dc5dbc09
|
||||
Z bd451200f94583267a2ebaaac01cd69b
|
||||
|
@ -1 +1 @@
|
||||
66529ae3a21ea8c57d3f50cdf6e1e8929fd7e437
|
||||
e07ed82caf5e4706ef564271830112d31e8cff7c
|
16
src/shell.c
16
src/shell.c
@ -12,7 +12,7 @@
|
||||
** This file contains code to implement the "sqlite" command line
|
||||
** utility for accessing SQLite databases.
|
||||
**
|
||||
** $Id: shell.c,v 1.179 2008/05/19 15:53:35 drh Exp $
|
||||
** $Id: shell.c,v 1.180 2008/06/23 21:18:11 mihailim Exp $
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@ -604,20 +604,20 @@ static int callback(void *pArg, int nArg, char **azArg, char **azCol){
|
||||
}
|
||||
case MODE_Html: {
|
||||
if( p->cnt++==0 && p->showHeader ){
|
||||
fprintf(p->out,"<TR>");
|
||||
fprintf(p->out,"<tr>");
|
||||
for(i=0; i<nArg; i++){
|
||||
fprintf(p->out,"<TH>%s</TH>",azCol[i]);
|
||||
fprintf(p->out,"<th>%s</th>",azCol[i]);
|
||||
}
|
||||
fprintf(p->out,"</TR>\n");
|
||||
fprintf(p->out,"</tr>\n");
|
||||
}
|
||||
if( azArg==0 ) break;
|
||||
fprintf(p->out,"<TR>");
|
||||
fprintf(p->out,"<tr>");
|
||||
for(i=0; i<nArg; i++){
|
||||
fprintf(p->out,"<TD>");
|
||||
fprintf(p->out,"<td>");
|
||||
output_html_string(p->out, azArg[i] ? azArg[i] : p->nullvalue);
|
||||
fprintf(p->out,"</TD>\n");
|
||||
fprintf(p->out,"</td>\n");
|
||||
}
|
||||
fprintf(p->out,"</TR>\n");
|
||||
fprintf(p->out,"</tr>\n");
|
||||
break;
|
||||
}
|
||||
case MODE_Tcl: {
|
||||
|
Loading…
Reference in New Issue
Block a user