Fossil SCM
Fix minor formatting error in the HTML for hierarchical forum.
Commit
7221e497fc951a3630cace2bb41cd8407cc0de53b78d78d2932bc75a77876882
Parent
2963f440e8fb01e…
1 file changed
+4
-3
+4
-3
| --- src/forum.c | ||
| +++ src/forum.c | ||
| @@ -462,15 +462,16 @@ | ||
| 462 | 462 | /* Open the <div> enclosing the post. Set the class string to mark the post |
| 463 | 463 | ** as selected and/or obsolete. */ |
| 464 | 464 | iIndent = (p->pEditHead ? p->pEditHead->nIndent : p->nIndent)-1; |
| 465 | 465 | @ <div id='forum%d(p->fpid)' class='forumTime\ |
| 466 | 466 | @ %s(bSelect ? " forumSel" : "")\ |
| 467 | - @ %s(p->pEditTail ? " forumObs" : "")'\ | |
| 467 | + @ %s(p->pEditTail ? " forumObs" : "")' \ | |
| 468 | 468 | if( iIndent && iIndentScale ){ |
| 469 | - @ style='margin-left: %d(iIndent*iIndentScale)ex' | |
| 469 | + @ style='margin-left:%d(iIndent*iIndentScale)ex;'> | |
| 470 | + }else{ | |
| 471 | + @ > | |
| 470 | 472 | } |
| 471 | - @ > | |
| 472 | 473 | |
| 473 | 474 | /* If this is the first post (or an edit thereof), emit the thread title. */ |
| 474 | 475 | if( pManifest->zThreadTitle ){ |
| 475 | 476 | @ <h1>%h(pManifest->zThreadTitle)</h1> |
| 476 | 477 | } |
| 477 | 478 |
| --- src/forum.c | |
| +++ src/forum.c | |
| @@ -462,15 +462,16 @@ | |
| 462 | /* Open the <div> enclosing the post. Set the class string to mark the post |
| 463 | ** as selected and/or obsolete. */ |
| 464 | iIndent = (p->pEditHead ? p->pEditHead->nIndent : p->nIndent)-1; |
| 465 | @ <div id='forum%d(p->fpid)' class='forumTime\ |
| 466 | @ %s(bSelect ? " forumSel" : "")\ |
| 467 | @ %s(p->pEditTail ? " forumObs" : "")'\ |
| 468 | if( iIndent && iIndentScale ){ |
| 469 | @ style='margin-left: %d(iIndent*iIndentScale)ex' |
| 470 | } |
| 471 | @ > |
| 472 | |
| 473 | /* If this is the first post (or an edit thereof), emit the thread title. */ |
| 474 | if( pManifest->zThreadTitle ){ |
| 475 | @ <h1>%h(pManifest->zThreadTitle)</h1> |
| 476 | } |
| 477 |
| --- src/forum.c | |
| +++ src/forum.c | |
| @@ -462,15 +462,16 @@ | |
| 462 | /* Open the <div> enclosing the post. Set the class string to mark the post |
| 463 | ** as selected and/or obsolete. */ |
| 464 | iIndent = (p->pEditHead ? p->pEditHead->nIndent : p->nIndent)-1; |
| 465 | @ <div id='forum%d(p->fpid)' class='forumTime\ |
| 466 | @ %s(bSelect ? " forumSel" : "")\ |
| 467 | @ %s(p->pEditTail ? " forumObs" : "")' \ |
| 468 | if( iIndent && iIndentScale ){ |
| 469 | @ style='margin-left:%d(iIndent*iIndentScale)ex;'> |
| 470 | }else{ |
| 471 | @ > |
| 472 | } |
| 473 | |
| 474 | /* If this is the first post (or an edit thereof), emit the thread title. */ |
| 475 | if( pManifest->zThreadTitle ){ |
| 476 | @ <h1>%h(pManifest->zThreadTitle)</h1> |
| 477 | } |
| 478 |