Remove duplicate definition of encode in httpd.tcl.
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 11 May 2009 22:37:52 +0000 (22:37 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 11 May 2009 22:37:52 +0000 (22:37 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1749 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/server/httpd/httpd.tcl

index 5b01268..dfa9e33 100644 (file)
@@ -94,11 +94,6 @@ proc lunion {a b} {
 }
  
 
-# encode text
-proc encode {a} {
-       return [string map {\n <br/> { } {&nbsp;} \t {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} > &gt; < &lt; / &#47;} $a]
-}
-
 proc first_flash_base {} {
        set t [lindex 0 [ocd_flash_banks]]
        return $t(base)