Hi,

      This bug was previously fixed, but seems to have resurfaced.
      Tested on both Firefox and Chrome, screenshots attached.

      Summary:

      When adding a code block in the details, the contents is not wrapped.
      This happens in the latest version of firefox, but not in chrome (have not tested IE).

      Similar bug was raised for 1.2.4 and marked fixed for 1.2.6.

      Steps to Reproduce:

      1. Create a service desk request.
      2. Add a code block in the details:
        {code}create table table1(id, val1, val2, val3) as select id, val1, val2, something from something_something where a=1 and b=‘longer text'{code}
      3. View the request on the customer portal

      Expected Results:

      The code should wrap (see code_chrome.png)

      Actual Results:

      The code goes through the You Can section. (see code_firefox.png)

        1. code_chrome.png
          code_chrome.png
          170 kB
        2. code_firefox.png
          code_firefox.png
          72 kB

            [JSDSERVER-1662] In Firefox, {code} and {noformat} do not wrap on Customer Portal.

            If this defect is a regression then it resurfaced in (or before) v2.0.2: it affects support.atlassian.com. Most annoying.

            Broken when viewing with Firefox v36.0.4
            Fine with Chrome v41
            Fine with Internet Explorer v11

            One quibble with the summary/description. Should the expectation really be for the text to be wrapping? I would expect to have scroll bars... it's much harder to read a log snippet when the text is wrapping.

            Mark Symons added a comment - If this defect is a regression then it resurfaced in (or before) v2.0.2: it affects support.atlassian.com. Most annoying. Broken when viewing with Firefox v36.0.4 Fine with Chrome v41 Fine with Internet Explorer v11 One quibble with the summary/description. Should the expectation really be for the text to be wrapping? I would expect to have scroll bars... it's much harder to read a log snippet when the text is wrapping.

              knguyen@atlassian.com Kha Nguyen (Inactive)
              ilabras Ibrahim (Inactive)
              Affected customers:
              2 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: