Aricie
The DNN Expert for your web project
DNN Community Forums

Filter setting groups similar characters after replacement?

Sort:
You are not authorized to post a reply.
Author
Messages


G. Nagy Gergő











New Member



Posts:




New Member



    Hi,

    I have a problem with the character replacement settings.

    My product name contains this word: "beépitett"
    By the replacement rules "é" should be replaced to "e" and above word should look like this in the URL: "beepitett"
    My problem is that it looks like this in the URL: "bepitett" instead of "beepitett" - so there is only one "e" and not two.

    I could see the setting "Max Group Length" under Filter Settings and its value is -1 currently. Does it make sense?

    Thank you for the help!


    samyb











    New Member



    Posts:




    New Member



      Hello,

      From what i can read in the code, it is a desired behavior never to set two same rewritten characters one after the other. I'm going to check why this rule exists and eventually remove it. Meanwhile, you can use a string transformation in the filter to force the correct rewriting of this specific sequence of characters.
      It doesn't matter whether the string transformation is before or after the char transformation, string transformations take precedence.
      Just add this in your filter:


      Best regards,
      Samy
      You are not authorized to post a reply.