[ticket/7187] Quote smilies error

If smilies are quoted, no space is there.

As there is no space between the quote and smilie,the smilie converts to code.

So I edited the code, and now the bug cannot be reproduced.

PHPBB3-7187