You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are we sure all numerics should be safe? Not being a mathematician, this may be an ignorant assertion, but I could see some subclasses of Numeric (probably custom subclasses) having unsafe characters such as the exponential symbol, the power-of-10 symbol, or the Unicode times symbol.
Numeric has 4 native child classes : Bignum, Float, Fixnum, Integer.
All of these should be html_safe. For any other specific one, the method can be overriden.
I noticed that only Integers are considered html_safe; shouldn't floats be considered html_safe as well?
The text was updated successfully, but these errors were encountered: