Branch: Tag:

2001-05-05

2001-05-05 20:38:48 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

bugfix in text empty line parsing

Rev: bin/mkxml.pike:1.4

1: - /* $Id: mkxml.pike,v 1.3 2001/05/05 19:23:09 mirar Exp $ */ + /* $Id: mkxml.pike,v 1.4 2001/05/05 20:38:48 mirar Exp $ */      import Stdio;   import Array;
310:    else if (b[..2]=="pre" &&    sscanf(t,"%s<pre%s>%s</pre>%s",t,q,u,v)==4)    { +  werror("%O\n",u);    s+=replace(t,"\n\n","\n\n<p>")+    "<pre"+q+">\n"+u+"</pre>";    t=v;
907:    d=getridoftabs(d);    descM->desc+=d;    } +  else +  { +  if (!descM->desc) descM->desc=""; +  else descM->desc+="\n";    }    } -  +  }      // stderr->write(sprintf("%O",parse));