Fossil SCM
correct format specifier, in case the branch name contains HTML-conflicting characters
Commit
2eda90a5dedf50c6bb12eec8b7bb6ebba96fb418
Parent
718cc002089f4d7…
1 file changed
+1
-1
+1
-1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -2337,11 +2337,11 @@ | ||
| 2337 | 2337 | @ </td></tr> |
| 2338 | 2338 | }else if( zBranchName ){ |
| 2339 | 2339 | @ <tr><th align="right" valign="top">Branch Closure:</th> |
| 2340 | 2340 | @ <td valign="top"> |
| 2341 | 2341 | @ <label><input type="checkbox" name="close"%s(zCloseFlag) /> |
| 2342 | - @ Mark branch <span style="font-weight:bold" id="cbranch">%s(zBranchName)</span> | |
| 2342 | + @ Mark branch <span style="font-weight:bold" id="cbranch">%h(zBranchName)</span> | |
| 2343 | 2343 | @ as "closed" so that its leaf no longer appears on the "leaves" page |
| 2344 | 2344 | @ and is no longer labeled as a "<b>Leaf</b>"</label> |
| 2345 | 2345 | @ </td></tr> |
| 2346 | 2346 | } |
| 2347 | 2347 | } |
| 2348 | 2348 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2337,11 +2337,11 @@ | |
| 2337 | @ </td></tr> |
| 2338 | }else if( zBranchName ){ |
| 2339 | @ <tr><th align="right" valign="top">Branch Closure:</th> |
| 2340 | @ <td valign="top"> |
| 2341 | @ <label><input type="checkbox" name="close"%s(zCloseFlag) /> |
| 2342 | @ Mark branch <span style="font-weight:bold" id="cbranch">%s(zBranchName)</span> |
| 2343 | @ as "closed" so that its leaf no longer appears on the "leaves" page |
| 2344 | @ and is no longer labeled as a "<b>Leaf</b>"</label> |
| 2345 | @ </td></tr> |
| 2346 | } |
| 2347 | } |
| 2348 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2337,11 +2337,11 @@ | |
| 2337 | @ </td></tr> |
| 2338 | }else if( zBranchName ){ |
| 2339 | @ <tr><th align="right" valign="top">Branch Closure:</th> |
| 2340 | @ <td valign="top"> |
| 2341 | @ <label><input type="checkbox" name="close"%s(zCloseFlag) /> |
| 2342 | @ Mark branch <span style="font-weight:bold" id="cbranch">%h(zBranchName)</span> |
| 2343 | @ as "closed" so that its leaf no longer appears on the "leaves" page |
| 2344 | @ and is no longer labeled as a "<b>Leaf</b>"</label> |
| 2345 | @ </td></tr> |
| 2346 | } |
| 2347 | } |
| 2348 |