Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-2212

Greenhopper JavaScript sets browser title incorrectly for ampersand '&'

      Greenhopper tries to display our project name, "Ticker & NLE", in the browser's title bar when on the Agile pages. But, the name is escaped so that it displays incorrectly. From the page source:

      <script type="text/javascript">
      document.title = "Ticker &amp; NLE - Chart Board - Vizrt JIRA";
      </script>
      

      This results in the text "Ticker & NLE" in the title. If I change the code to the following, it displays correctly:

      <script type="text/javascript">
      document.title = "Ticker & NLE - Chart Board - Vizrt JIRA";
      </script>
      

      Reproduction steps:

      1. Create a project named "This & That".
      2. Enable the project in Greenhopper.
      3. Open project in Greenhopper's Agile view.

      Expected behaviour: Browser tab displays "This & That - Task Board [...]".

      Actual behaviour: Browser tab displays "This & That - Task Board [...]".

      In Chrome and Firefox.

            [JSWSERVER-2212] Greenhopper JavaScript sets browser title incorrectly for ampersand '&'

            No work has yet been logged on this issue.

              jchuet JC
              mychin Min Yee Chin [Atlassian]
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: