Changeset d7349ff in tol for tolbase/lib/toltk/markuphelper.tcl
- Timestamp:
- May 12, 2012, 10:48:51 PM (14 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- a72f642
- Parents:
- 9042aac
- File:
-
- 1 edited
-
tolbase/lib/toltk/markuphelper.tcl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tolbase/lib/toltk/markuphelper.tcl
r9042aac rd7349ff 56 56 proc Verbatim { text } { 57 57 return [ string map {\n \n<br>} $text ] 58 } 59 60 proc Preformatted { text } { 61 variable markup 62 63 append markup "#pre\n" 64 append markup "${text}\n" 65 append markup "#unpre\n" 58 66 } 59 67 … … 288 296 } 289 297 BR 290 LabelValue "Content" [ Verbatim [ Escape $_content ] ] 298 if { $grammar eq "Text" } { 299 Text "Content:" -tags b 300 CR 301 Preformatted $_content 302 } else { 303 LabelValue "Content" [ Verbatim [ Escape $_content ] ] 304 BR 305 } 291 306 if {$path ne ""} { 307 LabelValue "Path" $path 292 308 BR 293 LabelValue "Path" $path294 309 } 295 310 if {$desc ne ""} { 296 BR297 311 Text "Description:" -tags b -br 1 298 312 Text \
Note: See TracChangeset
for help on using the changeset viewer.
