Details
-
Type: Sub-task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.8.0-b1
-
Component/s: None
-
Labels:None
Description
This is described @ https://www.blesta.com/forums/index.php?/topic/13025-currency-format/
When using a currency format with a space in it, e.g. # ###.##, and the RTL direction for content (AppController.lang.dir language definition), the browser automatically breaks the currency amount at the space. It is unable to recognize that this number should not be broken apart.
We can remedy this issue by adding an option for currency formatting to determine whether it is displayed in HTML. If it is displayed in HTML, wrap the prefix, amount, and suffix in a span that enforces a style of LTR.