• ResolvedPlugin Contributor TryAllTheThings

    (@roots84)


    Hi!

    The Guestbook unfortunately cuts everything after a user puts <3 into their text. Any way to fix this?

    Edit: If I try to add <3 in the backend I get an error during saving.

    Thanks,
    roots

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Strange. I will look at this. I see it too.

    Plugin Author Marcel Pol

    (@mpol)

    It is because strip_tags is used.
    I will have to investigate further if I want to keep this.

    Plugin Contributor TryAllTheThings

    (@roots84)

    Quick fix in gwolle-gb/functions/gb-formatting.php:

        $input = str_replace('<3', '❤', $input);
    	$input = strip_tags($input);
        $output = str_replace('<3', '❤', $output);
    	$output = strip_tags($output);
    Plugin Author Marcel Pol

    (@mpol)

    This is fixed now in trunk (2.3.0). I decided to not use strip_tags anymore, but rely on wp_kses functions.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Bug] Entries are cut after <3’ is closed to new replies.