Fossil SCM

correct format specifier, in case the branch name contains HTML-conflicting characters

jan.nijtmans 2013-12-05 08:44 trunk
Commit 2eda90a5dedf50c6bb12eec8b7bb6ebba96fb418
1 file changed +1 -1
+1 -1
--- src/info.c
+++ src/info.c
@@ -2337,11 +2337,11 @@
23372337
@ </td></tr>
23382338
}else if( zBranchName ){
23392339
@ <tr><th align="right" valign="top">Branch Closure:</th>
23402340
@ <td valign="top">
23412341
@ <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>
23432343
@ as "closed" so that its leaf no longer appears on the "leaves" page
23442344
@ and is no longer labeled as a "<b>Leaf</b>"</label>
23452345
@ </td></tr>
23462346
}
23472347
}
23482348
--- 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

Keyboard Shortcuts

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