jason0x43/jc-units — pull request #1 by mganjoo (2013-08-09 18:36:02+00:00)
Title: Fix display of scientific notation

Currently, if you try a conversion that yields a very large value, say, "u 1 lightyear in km", one ends up with an "Invalid escape" exception because the Unicode symbols for &, < and > in the returned HTML entities aren't converted correctly. This pull request fixes that; it also converts the symbols into the more plaintext friendly "x.xx * 10^xx".