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

Add support for stripping html tags as well as escape sequences to kernel utils

    XMLWordPrintable

    Details

    • Type: (Deprecated) Contributed Patch
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0
    • Fix Version/s: 10.2, 11.0
    • Component/s: Kernel
    • Labels:
      None
    • 10 status:
      Resolved
    • Previous Issue Keys:
      KNL-1267

      Description

      stripHtmlFromText from KNL-1253 leaves escape sequences (eg. " "). This could be problematic if, say, we want to validate input from CKEditor by determining whether there is at least one printable character.

      We should overload stripHtmlFromText to specify whether we want to strip out escape sequences.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aaronz Aaron Zeckoski (Inactive)
                  Reporter:
                  bbailla2 Brian Baillargeon
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code