Fossil SCM

Re-added the P tags removed in [9850dd3f22db], as they're needed for proper spacing.

stephan 2020-08-11 11:41 trunk
Commit 689b7f6d5d6795c62772c576f06534fafeda3a915520e7d05fa5655925fb1d74
1 file changed +1 -4
+1 -4
--- src/dispatch.c
+++ src/dispatch.c
@@ -413,14 +413,11 @@
413413
}
414414
if( isLI ){
415415
blob_append(pHtml, "<li> ", 5);
416416
}
417417
if( wantP ){
418
- /* We historically output a <P> tag here but that is
419
- semantically illegal (P may only contain inline elements) and
420
- browsers were automatically relocating its contents after the
421
- P in the DOM. */
418
+ blob_append(pHtml, "<p> ", 4);
422419
wantP = 0;
423420
}
424421
if( azEnd[iLevel]==zEndDL ){
425422
int iDD;
426423
blob_append(pHtml, "<dt> ", 5);
427424
--- src/dispatch.c
+++ src/dispatch.c
@@ -413,14 +413,11 @@
413 }
414 if( isLI ){
415 blob_append(pHtml, "<li> ", 5);
416 }
417 if( wantP ){
418 /* We historically output a <P> tag here but that is
419 semantically illegal (P may only contain inline elements) and
420 browsers were automatically relocating its contents after the
421 P in the DOM. */
422 wantP = 0;
423 }
424 if( azEnd[iLevel]==zEndDL ){
425 int iDD;
426 blob_append(pHtml, "<dt> ", 5);
427
--- src/dispatch.c
+++ src/dispatch.c
@@ -413,14 +413,11 @@
413 }
414 if( isLI ){
415 blob_append(pHtml, "<li> ", 5);
416 }
417 if( wantP ){
418 blob_append(pHtml, "<p> ", 4);
 
 
 
419 wantP = 0;
420 }
421 if( azEnd[iLevel]==zEndDL ){
422 int iDD;
423 blob_append(pHtml, "<dt> ", 5);
424

Keyboard Shortcuts

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