Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15195

Code direction in print view is not defined as "ltr"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 3.1.10, 3.2.0
    • 3.2.2-RC1
    • Styles
    • None

    Description

      The content inside the [code] BBcode tag has a direction defined as "ltr" (left to right) even with rtl languages.

      In proSilver, you can find that trick in bidi.css (RTL definitions)

      .rtl code {
      	direction: ltr;
      }
      

      However, that definition is completely absent in print.css, and bidi.css is not loaded in "print view" mode (available in viewtopic and ucp_pm_viewmessage). That means that, if you use a RTL language (such as Arabic or Japanese), the content of code is displayed as a ltr content in normal mode (just like with western languages) but as a rtl content in print view

      Attachments

        1. good.png
          good.png
          5 kB
        2. wrong.png
          wrong.png
          6 kB

        Activity

          People

            Elsensee Oliver Schramm [X] (Inactive)
            Big Monstro Big Monstro [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: