Closed anita-chouhan closed 1 year ago
Hi, thanks for reporting! I raised a PR.
Resolved in https://github.com/craftcms/anchors/pull/34 and will be included in the next release.
Hi, thank you for providing the fix. I found that for some special characters, it's still generating incorrect URLs.
For example:
{% apply anchors('h2') %}
<h2>Let’s talk about clothes.</h2>
{% endapply %}
Generates: #let-rsquo-s-talk-about-clothes
Hello @angrybrad, any updates on the issue?
Description
Found 2 cases of URL formatting issues with the Anchors filter.
Usage Example:
Header Text:
Rendering Code:
For the case when a quote is present in header It generates two different URLs based on the rendering code
Generated Output:
Expected Output:
Additional info