Branch: Tag:

2001-05-05

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

bugfix in text empty line parsing

Rev: bin/mkxml.pike:1.5

1: - /* $Id: mkxml.pike,v 1.4 2001/05/05 20:38:48 mirar Exp $ */ + /* $Id: mkxml.pike,v 1.5 2001/05/05 20:39:13 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;