• Resolved feroxy

    (@feroxy)


    Hi

    I am using the synonyms config and I am trying to use the phrases option within that (dog = “great dane” as per the example).

    However it is not handling the quotes properly:

    first save ends up looking this

    dog = "great dane"

    and subsequent saves get worse and worse

    dog = &amp
    amp
    quot
    great dane&amp
    amp
    quot

    unless I redo the quotes each time I add something new to the list.

    Little bug perhaps?

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Indeed. The parameters are stored correctly, but looks like there’s a bit too much escaping involved when it is displayed.

    This will be fixed in the next version. Meanwhile, if you want a quick fix, edit /lib/tabs/synonyms-tab.php in the Relevanssi folder and edit the

    <?php echo esc_textarea( htmlspecialchars( $synonyms ) ); ?>

    to

    <?php echo esc_textarea( $synonyms ); ?>

    That’ll fix it.

Viewing 1 replies (of 1 total)
  • The topic ‘Synonyms quotes problem’ is closed to new replies.