Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-2017

Field Truncation on max length can break show hide toggle

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Solr Search
    • Labels:
      None

      Description

      When displaying a metadata field that is both truncated to a max length AND contains basic HTML tags, the 'Show more' and 'Show less' toggle can break the display. While modules that implement this functionality (such as islandora_solr_metadata) performs a check_markup() call in the template file (which uses the 'islandora_solr_metadata_filtered_html' text format for correctness), we should also be performing a check like this on the raw truncated value of the field, as well as the full value of the field (both here and here).

        Attachments

          Activity

            People

            • Assignee:
              morgandawe Morgan Dawe
              Reporter:
              morgandawe Morgan Dawe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: