Fossil SCM

rolled back my last commit for stripping P tags around UL/OL, which had broken logic.

stephan 2009-12-08 10:10 trunk
Commit 083cad82ff9cdfebf1f8c09525496a57cfca087e
1 file changed +1 -1
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -849,11 +849,11 @@
849849
850850
/*
851851
** End a paragraph if we are in one.
852852
*/
853853
static void endAutoParagraph(Renderer *p){
854
- if( p->inAutoParagraph && !(p->wikiList==MARKUP_OL || p->wikiList==MARKUP_UL)){
854
+ if( p->inAutoParagraph ){
855855
popStackToTag(p, MARKUP_P);
856856
p->inAutoParagraph = 0;
857857
}
858858
}
859859
860860
--- 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
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button