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

Title is truncated after html transformation

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.0, 19.0
    • Fix Version/s: 19.0
    • Component/s: Portal
    • Labels:
      None
    • 12 status:
      Resolved
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      In the screenshot is an example. Using the title: "This is a sentence Iám happy"
      You could replace á with any special character that you want (but in that position).

      In html the title is: "This is a sentence Iám happy"

      This size is bigger than 25 (default max) so it's time to cut the title, the default method is get the first 21 characters and add "..." at the end... so the result is:

      "This is a sentence I&..."

      But this has no sense because & is a fragment of an html entity. The method should use the original title (not the html encoded one) to get the size and decided how to cut and encode after truncate the title.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bjones86 Brian Jones
                Reporter:
                jjmerono@um.es Juan José Meroño Sánchez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code