We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13137
    • 204 Posts
    I am using DynamicDescription (http://modx.com/extras/package/dynamicdescription) for my meta tag description, but it is stripping out all accented characters (á, í, ñ, etc.).

    I tried to modify part of the function
    $text = preg_replace('~&.+;~U',' ',$text);
    but it ends up replacing the accented characters with the HTML equivalent.
    The letter á becomes & aacute;

    Does anyone know how to correct this?