Fossil SCM
added second half of fix in #6f0df6c741
Commit
239139a90722ca542b53bdf39cca96d0b5969d3a
Parent
50a372c1e5e42a7…
1 file changed
+1
-1
+1
-1
| --- src/wikiformat.c | ||
| +++ src/wikiformat.c | ||
| @@ -849,11 +849,11 @@ | ||
| 849 | 849 | |
| 850 | 850 | /* |
| 851 | 851 | ** End a paragraph if we are in one. |
| 852 | 852 | */ |
| 853 | 853 | static void endAutoParagraph(Renderer *p){ |
| 854 | - if( p->inAutoParagraph ){ | |
| 854 | + if( p->inAutoParagraph && !(p->wikiList==MARKUP_OL || p->wikiList==MARKUP_UL)){ | |
| 855 | 855 | popStackToTag(p, MARKUP_P); |
| 856 | 856 | p->inAutoParagraph = 0; |
| 857 | 857 | } |
| 858 | 858 | } |
| 859 | 859 | |
| 860 | 860 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -849,11 +849,11 @@ | |
| 849 | |
| 850 | /* |
| 851 | ** End a paragraph if we are in one. |
| 852 | */ |
| 853 | static void endAutoParagraph(Renderer *p){ |
| 854 | if( p->inAutoParagraph ){ |
| 855 | popStackToTag(p, MARKUP_P); |
| 856 | p->inAutoParagraph = 0; |
| 857 | } |
| 858 | } |
| 859 | |
| 860 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -849,11 +849,11 @@ | |
| 849 | |
| 850 | /* |
| 851 | ** End a paragraph if we are in one. |
| 852 | */ |
| 853 | static void endAutoParagraph(Renderer *p){ |
| 854 | if( p->inAutoParagraph && !(p->wikiList==MARKUP_OL || p->wikiList==MARKUP_UL)){ |
| 855 | popStackToTag(p, MARKUP_P); |
| 856 | p->inAutoParagraph = 0; |
| 857 | } |
| 858 | } |
| 859 | |
| 860 |