diff --git a/Readme.md b/Readme.md
--- a/Readme.md
+++ b/Readme.md
@@ -30,6 +30,8 @@
 Changes
 -------
 
+0.1.5.3 - fix handling of hex literals
+
 0.1.5.1 - fix if/else/if minify issue
 
 0.1.5.0 - fix tests to work with language-javascript >= 0.5.14
diff --git a/Text/Jasmine/Pretty.hs b/Text/Jasmine/Pretty.hs
--- a/Text/Jasmine/Pretty.hs
+++ b/Text/Jasmine/Pretty.hs
@@ -55,7 +55,7 @@
 rn (JSLiteral "new")       = (text "new ")
 rn (JSLiteral l)           = (text l)
 
-rn (JSHexInteger i)        = (text $ show i) -- TODO: need to tweak this
+rn (JSHexInteger i)        = (text i)
 rn (JSStringLiteral s l)   = empty <> (char s) <> (text l) <> (char s)
 rn (JSRegEx s)             = (text s)
 
diff --git a/hjsmin.cabal b/hjsmin.cabal
--- a/hjsmin.cabal
+++ b/hjsmin.cabal
@@ -1,5 +1,5 @@
 name:            hjsmin
-version:         0.1.5.2
+version:         0.1.5.3
 license:         BSD3
 license-file:    LICENSE
 author:          Alan Zimmerman <alan.zimm@gmail.com>
diff --git a/runtests.hs b/runtests.hs
--- a/runtests.hs
+++ b/runtests.hs
@@ -47,6 +47,7 @@
     , testCase "Issue8"           caseIssue8
     , testCase "Issue9"           caseIssue9
     , testCase "Issue14"          caseIssue14
+    , testCase "Issue24"          caseIssue24
     ]
 
 testSuiteMin :: Test
@@ -77,6 +78,7 @@
     , testCase "MinIssue8"        caseMinIssue8
     , testCase "MinIssue9"        caseMinIssue9
     , testCase "MinIssue14"       caseMinIssue14
+    , testCase "MinIssue24"       caseMinIssue24
 
     ]
 
@@ -342,6 +344,15 @@
 
 caseMinIssue14 =
     testMinify "var settings={start:new Date(2012,01,27)}" srcIssue14
+
+srcIssue24 = "0xe0+'0x30'"
+
+caseIssue24 =
+    "Right (JSSourceElementsTop [JSExpression [JSExpressionBinary \"+\" [JSHexInteger \"0xe0\"] [JSStringLiteral '\\'' \"0x30\"]],JSLiteral \"\"])"
+    @=? showStrippedMaybe (parseProgram srcIssue24)
+
+caseMinIssue24 =
+    testMinify srcIssue24 srcIssue24
 
 
 -- ---------------------------------------------------------------------
