Differences From Artifact [a353a06aef]:
- File src/wikiformat.c — part of check-in [af616bce44] at 2020-09-26 10:42:00 on branch trunk — Fix check-in [b07834b386f02f73] so that it correctly handles unquoted HTML attribute values. (user: drh size: 86506)
To Artifact [e8c67955e6]:
- File src/wikiformat.c — part of check-in [2907721acd] at 2020-10-04 14:35:57 on branch prefer-mprintf-r — Exchanged most uses of %s(g.zTop) and such in the code with use of %R in Fossil's special printf() type functions. (The branch is named after just one of several of these, mprintf(), being one of the shortest names.) At the least, this is shorter, simpler code, but there is also some hope that it may fix some doubled slash problems someone is having on the forum. (https://www.fossil-scm.org/forum/forumpost/1ea72176e0) (user: wyoung size: 86498) [more...]
| ︙ | |||
865 866 867 868 869 870 871 | 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 | - + |
}else{
blob_appendf(pOut, "<%s", aMarkup[p->iCode].zName);
for(i=0; i<p->nAttr; i++){
blob_appendf(pOut, " %s", aAttribute[p->aAttr[i].iACode].zName);
if( p->aAttr[i].zValue ){
const char *zVal = p->aAttr[i].zValue;
if( p->aAttr[i].iACode==ATTR_SRC && zVal[0]=='/' ){
|
| ︙ |