Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3232

Update formatted currencies displayed in HTML to always appear LTR

    Details

    • Type: Improvement
    • 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.

        Issue Links

          Activity

          Automated transition triggered when Tyson Phillips (Inactive) merged pull request #744 in Stash -
          Status In Review [ 5 ] Closed [ 6 ]
          jonathan Jonathan Reissmueller made changes -
          Time Spent 3 hours, 45 minutes [ 13500 ] 4 hours, 45 minutes [ 17100 ]
          Worklog Id 12661 [ 12661 ]
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue relates to CORE-3231 [ CORE-3231 ]
          jonathan Jonathan Reissmueller made changes -
          Time Spent 3 hours, 35 minutes [ 12900 ] 3 hours, 45 minutes [ 13500 ]
          Worklog Id 12651 [ 12651 ]
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.7.0 Sprint 4, 4.7.0 Sprint 5, 4.7.0 Sprint 6, 4.8.0 Sprint 1 [ 89, 90, 91, 92 ] 4.7.0 Sprint 4, 4.7.0 Sprint 5, 4.7.0 Sprint 6, 4.8.0 Sprint 1, 4.8.0 Sprint 2 [ 89, 90, 91, 92, 93 ]
          tyson Tyson Phillips (Inactive) made changes -
          Fix Version/s 4.8.0-b1 [ 11127 ]
          Automated transition triggered when Jonathan Reissmueller created pull request #744 in Stash -
          Status In Progress [ 3 ] In Review [ 5 ]
          Resolution Fixed [ 1 ]
          jonathan Jonathan Reissmueller made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 3 hours, 35 minutes [ 12900 ]
          Worklog Id 12638 [ 12638 ]
          Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
          Status Open [ 1 ] In Progress [ 3 ]
          jonathan Jonathan Reissmueller made changes -
          Assignee Jonathan Reissmueller [ jonathan ]
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.7.0 Sprint 4, 4.7.0 Sprint 5, 4.7.0 Sprint 6 [ 89, 90, 91 ] 4.7.0 Sprint 4, 4.7.0 Sprint 5, 4.7.0 Sprint 6, 4.8.0 Sprint 1 [ 89, 90, 91, 92 ]
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.7.0 Sprint 4, 4.7.0 Sprint 5 [ 89, 90 ] 4.7.0 Sprint 4, 4.7.0 Sprint 5, 4.7.0 Sprint 6 [ 89, 90, 91 ]
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.7.0 Sprint 4 [ 89 ] 4.7.0 Sprint 4, 4.7.0 Sprint 5 [ 89, 90 ]
          tyson Tyson Phillips (Inactive) made changes -
          Sprint 4.7.0 Sprint 4 [ 89 ]
          tyson Tyson Phillips (Inactive) made changes -
          Story Points 3
          tyson Tyson Phillips (Inactive) made changes -
          Description This is described @ https://www.blesta.com/forums/index.php?/topic/13025-currency-format/ 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.
          tyson Tyson Phillips (Inactive) made changes -
          Field Original Value New Value
          Rank Ranked higher
          tyson Tyson Phillips (Inactive) created issue -

            People

            • Assignee:
              jonathan Jonathan Reissmueller
              Reporter:
              tyson Tyson Phillips (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/Dec/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 45 minutes
                4h 45m

                  Agile