#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Fri, 25 Nov 2016 16:45:58 +0100
changeset 4217 1dac9014b77a
parent 4211 4881ec8d1572
child 4218 ec51472dcbcc
child 4219 7ecd6ba2b202
#REFACTORING by cg class: HTMLUtilities changed: #escape:
HTMLUtilities.st
--- a/HTMLUtilities.st	Wed Nov 23 08:03:37 2016 +0100
+++ b/HTMLUtilities.st	Fri Nov 25 16:45:58 2016 +0100
@@ -632,11 +632,7 @@
                 ws nextPut: c.
             ] ifFalse:[
                 ws nextPut: $%.
-                cp > 16rFF ifTrue:[
-                    cp printOn:ws base:16 size:4 fill:$0.
-                ] ifFalse:[
-                    cp printOn:ws base:16 size:2 fill:$0.
-                ]
+                cp printOn:ws base:16 size:(cp > 16rFF ifTrue:[4] ifFalse:[2]) fill:$0.
             ]
         ]
     ].
@@ -651,6 +647,7 @@
     "
 
     "Modified: / 06-05-2015 / 16:07:18 / sr"
+    "Modified: / 25-11-2016 / 16:37:53 / cg"
 ! !
 
 !HTMLUtilities class methodsFor:'text processing helpers'!