@megaz We attempted to replicate your issue using the current version of Yoast SEO (version 14.4.1) and were unable to.
Can you please let us know where you are using the %%category%% variable so we can try to recreate the issue?
Also, can you please confirm you are using the most recent Yoast v14.4.1? You can learn more about updating here: https://kb.yoast.com/kb/how-can-i-update-my-free-plugin/
Can you confirm you are using WordPress 5.4.2? You can check by clicking on the W in the top left and selecting About. If you need to update, please check with your host provider. Please know that if you are using an older version of WordPress Core you may experience unexpected behavior with Yoast. This guide explains more: https://yoast.com/why-we-dont-support-old-wordpress-versions/
?
?If you update to the most current version of WordPress and Yoast SEO, does this resolve the issue?
If the issue is still occurring after confirming both Yoast SEO and WordPress are updated, this may be due to a plugin or theme conflict. Can you try and gather as much information for us as possible? Please perform the following:
1. Check for conflicts.
2. Check for JavaScript errors with your console.
If you find any JavaScript errors related to Yoast SEO or if there is a conflict with a plugin or a theme, you can create a new GitHub issue for our developers. Please report the issue to a third party developer as well.