Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:remove wrong comment about closing paragraphs after drh's merge
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | wolfgangFormat2CSS_2
Files: files | file ages | folders
SHA1:3eaebda5bb0369666ece20c004314b61af829f5c
User & Date: wolfgang 2010-09-14 18:30:28
Context
2010-09-14
19:04
added missing nowrap for div/divider style, has to be added in local css definition! check-in: 8e6dbfb2 user: wolfgang tags: wolfgangFormat2CSS_2
18:30
remove wrong comment about closing paragraphs after drh's merge check-in: 3eaebda5 user: wolfgang tags: wolfgangFormat2CSS_2
17:20
Create new branch named "wolfgangFormat2CSS_2" check-in: c5a27b6c user: Ratte tags: wolfgangFormat2CSS_2
Changes

Changes to src/wikiformat.c.

743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
** Render markup on the given blob.
*/
static void renderMarkup(Blob *pOut, ParsedMarkup *p){
  int i;
  if( p->endTag ){
    blob_appendf(pOut, "</%s>", aMarkup[p->iCode].zName);
  }else{
    /* Close active paragraph for several elements, which are not allowed
    ** in paragraphs in XHTML.
    */
    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]=='/' ){
          blob_appendf(pOut, "=\"%s%s\"", g.zBaseURL, zVal);







<
<
<







743
744
745
746
747
748
749



750
751
752
753
754
755
756
** Render markup on the given blob.
*/
static void renderMarkup(Blob *pOut, ParsedMarkup *p){
  int i;
  if( p->endTag ){
    blob_appendf(pOut, "</%s>", aMarkup[p->iCode].zName);
  }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]=='/' ){
          blob_appendf(pOut, "=\"%s%s\"", g.zBaseURL, zVal);