-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent of replacing & with & #176
Comments
Hello! There is no such possibility yet. When I have free time, I will try to implement the corresponding option. In any case, this is valid HTML code. You can check it using the W3C Markup Validation Service. |
As a temporary solution, you can wrap this tag in a ignoring comment tags: <!--wmm:ignore--><link rel=canonical href="[DOMAIN]/store/accessories/headphones&headsets"><!--/wmm:ignore--> |
Yes this is correct HTML code but for canonical URL tags and SEO manner exact string comparison is required. |
It worked and the problem was solved.
|
Hello, Sepehr! I added a website to the list. |
Hi
I am minifying my HTML code.
The library is escaping & char in tags, a problem in canonical tags.
How can I disable this behavior in link tags?
ex.
<link rel=canonical href="[DOMAIN]/store/accessories/headphones&headsets">
is being converted to
<link rel=canonical href=[DOMAIN]/store/accessories/headphones&headsets>
The text was updated successfully, but these errors were encountered: