Overview
SHA1 Hash: | 6f0df6c741887ef251d89224bc7c14894d489aed |
---|---|
Date: | 2009-12-07 20:20:22 |
User: | jeremy_c |
Edited Comment: | Fixed the insertion of invalid P tags inside of UL and OL elements when autoparagraph is on. Bug was reported on the fossil mailing list by Stephan Beal. |
Original Comment: | Fixed inside of
|
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- comment=Fixed the insertion of invalid P tags inside of UL and OL elements when autoparagraph is on. Bug was reported on the fossil mailing list by Stephan Beal. added by [cd9bb297e0] on 2009-12-07 20:22:51
- date=2009-12-07 20:20:22 added by [cd9bb297e0] on 2009-12-07 20:22:51
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/wikiformat.c from [0e2f5af22b] to [b5af4fe5ac].
@@ -838,11 +838,11 @@ /* ** Begin a new paragraph if that something that is needed. */ static void startAutoParagraph(Renderer *p){ - if( p->wantAutoParagraph==0 ) return; + if( p->wantAutoParagraph==0 || p->wikiList==MARKUP_OL || p->wikiList==MARKUP_UL ) return; blob_appendf(p->pOut, "<p>", -1); pushStack(p, MARKUP_P); p->wantAutoParagraph = 0; p->inAutoParagraph = 1; }