Applying patch for Views Global Text area field to allow extra HTML tags.
Open
requested to merge issue/drupal-2942327:2942327-views-global-text-allow-extra-html-tags into 11.x
2 unresolved threads
Applying patch for Views Global Text area field to allow extra HTML tags. As video, source and iframe tag is not rendering. Due to which Media embedded video and remote-video not rendering in Views Global Text area field.
Closes #2942327
Merge request reports
Activity
added 1 commit
added 2347 commits
-
b4875124...62ace6aa - 2344 commits from branch
project:11.x
- be5e4325 - Applying patch for Views Global Text area field to allow extra HTML tags. As...
- 8fb66d95 - Updating Xss.php file
- fc5e616a - Issue #2942327 by codebymikey: Stop Views stripping video and iframe elements...
Toggle commit list-
b4875124...62ace6aa - 2344 commits from branch
added 1 commit
added 1 commit
- Resolved by Stephen Mustgrave
- Resolved by Stephen Mustgrave
added 1 commit
- a535fcd0 - Update PluginBase.php, add return type of string.
added 174 commits
-
a535fcd0...38c850c4 - 169 commits from branch
project:11.x
- a9b0ce88 - Applying patch for Views Global Text area field to allow extra HTML tags. As...
- cf58df35 - Updating Xss.php file
- 42c36989 - Issue #2942327 by codebymikey: Stop Views stripping video and iframe elements...
- f8bc0494 - Update Xss.php add comment to docblock.
- 05854358 - Update PluginBase.php, add return type of string.
Toggle commit list-
a535fcd0...38c850c4 - 169 commits from branch
669 671 } 670 672 673 /** 674 * Returns a XSS sanitized text. 675 * 676 * It includes support for additional tags which might be potentially used 677 * in content. 678 * 679 * @param string $text 680 * The text to sanitize. 681 * 682 * @return string 683 * The XSS sanitized text. 684 */ 685 protected static function sanitizeTextContent(string $text): string { 686 return Xss::filterAdmin($text, ['video', 'source', 'track', 'iframe']); Should this also support audio tag if we support iframe and native video tag?
Please register or sign in to reply