Skip to content
Permalink
Branch: master
Commits on Sep 12, 2019
  1. [BUGFIX] Strip tags in prepared label from suggest wizard

    eliashaeussler authored and georgringer committed Sep 12, 2019
    Labels of records provided by the suggest wizard should not contain
    any HTML content as they are directly applied as <option> element
    to the <select> element of the appropriate database field in backend
    forms.
    
    As the suggest wizard may generate such labels in case of stripped
    record titles, this commit strips away all HTML tags in order to apply
    the labels in a clean way to the appropriate element in the DOM.
    
    Resolves: #89161
    Releases: master, 9.5
    Change-Id: Ibe5bb81f79c663cf7cfc30bbe896fdf4492c4c3c
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61698
    Tested-by: TYPO3com <noreply@typo3.com>
    Tested-by: Markus Klein <markus.klein@typo3.org>
    Tested-by: Georg Ringer <georg.ringer@gmail.com>
    Reviewed-by: Markus Klein <markus.klein@typo3.org>
    Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
You can’t perform that action at this time.