forked from fixin.me/fixin.me
Use <pre> tag for formatting
This commit is contained in:
@@ -20,7 +20,7 @@ class Float
|
||||
result += "×" if significand != '1'
|
||||
result += "10<sup>% d</sup>" % exponent
|
||||
end
|
||||
result.html_safe
|
||||
"<pre>#{result}</pre>".html_safe
|
||||
end
|
||||
|
||||
# Assume #finite? is true.
|
||||
|
||||
Reference in New Issue
Block a user