Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-13740

xslt-portal renders ampersands in site titles incorrectly

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.0, 2.5.2
    • Fix Version/s: 2.5.7 [tentative], 2.6.0
    • Component/s: OSP: Portal
    • Labels:
      None

      Description

      When a site uses an ampersand in its title, xsl-portal often renders it as "&" which displays as "&".

      Using the "?xsltUseTemplate=xml" query string to get the raw XML it seems that the over-escaping is coming from the XML itself, eg the pageTitle element includes the double-escaped ampersand.

      Ampersands are double-escaped in the HTML title element, the main site header, and in quicklink-bar links to other sites. However, it is rendered correctly in the title of the current site when it appears (unlinked) in the quicklink bar.

      The ampersand is stored in the database as a literal ampersand. The default portal (/portal) renders it correctly, as does osp-portal.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                daveadams David Adams
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code