Don’t recursively sanitize child nodes when called from Sanitize
Loading
When using Gitlab::Utils::SanitizeNodeLink.sanitize_unsafe_links
from our SanitizationFilter, which uses Sanitize, it automatically calls it for every node. We don't need to do an additional sanitize on each node's children.
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.