Rich Text Editor adds extra text (rel=noopener noreferrer) to a link element

  • Description

    Rich Text Editor duplicates the rel=\"noopener noreferrer\" attribute in the <a> tag. The error occurs because the Sitecore.Shell.Controls.RichTextEditor.Pipelines.SaveRichTextContent.ProtectExternalLink.Process(...) method does not check the availability of the attribute.
     <a rel="noopener noreferrer" rel="noopener noreferrer" href="/Services/Tracking/TrackEvent?ev=lFsBjJuDt9rL45KJVgK%2f1ATR5FQmagJ3LMOLO8a4qOl3o6sG0JMBOHslKMTG4EDEclpkx2XpcE%2bFZDDGkXl7CeBqjY6fmNWt2JubPjoEWaRIzG5jLoPpSvGTTBRgu8H2" target="_blank" id="www.google.com">example</a>

Applies to:

CMS 8.2 Update-6

June 12, 2019
June 12, 2019

Reference number:

223855