Fossil SCM
Re-added the P tags removed in [9850dd3f22db], as they're needed for proper spacing.
Commit
689b7f6d5d6795c62772c576f06534fafeda3a915520e7d05fa5655925fb1d74
Parent
9850dd3f22db7e0…
1 file changed
+1
-4
+1
-4
| --- src/dispatch.c | ||
| +++ src/dispatch.c | ||
| @@ -413,14 +413,11 @@ | ||
| 413 | 413 | } |
| 414 | 414 | if( isLI ){ |
| 415 | 415 | blob_append(pHtml, "<li> ", 5); |
| 416 | 416 | } |
| 417 | 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. */ | |
| 418 | + blob_append(pHtml, "<p> ", 4); | |
| 422 | 419 | wantP = 0; |
| 423 | 420 | } |
| 424 | 421 | if( azEnd[iLevel]==zEndDL ){ |
| 425 | 422 | int iDD; |
| 426 | 423 | blob_append(pHtml, "<dt> ", 5); |
| 427 | 424 |
| --- 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 |