The chop filter appears to have issues when allowed HTML tags have attributes, such as the a tag with title attribute in this example.
Source HTML:
<h2>Do you have what it takes to join our firm?</h2>
<p>We are <a href="http://localhost:8000/about-us#entry:15350:url">looking for students</a> who exhibit the skillsets and ambition to deliver <strong><a href="/about/our-ten-imperatives-of-client-service" title="Our Ten Imperatives of Client Service">The Ten Imperatives of Client Service</a>.</strong></p>
<h2>Do you have what it takes to join our firm?</h2>
<p>We are <a href="http://localhost:8000/about-us#entry:15350:url">looking for students</a> who exhibit the skillsets and ambition to deliver <strong><a href="/about/our-ten-imperatives-of...</a></p>
The
chop
filter appears to have issues when allowed HTML tags have attributes, such as thea
tag withtitle
attribute in this example.Source HTML:
Craft Template Code:
Resulting HTML: