Second slash in smiles

Support area for phpBB's mChat extension
Post Reply
dimassamid
Donor
Posts: 2
Joined: 11 Jan 2019, 04:19

Second slash in smiles

#1

Post by dimassamid » 17 Mar 2019, 00:55

Hello!

I have two smiles on a forum with codes:

Code: Select all

\(^__^)/

Code: Select all

\ (^. ^ \)
When I click to these smiles in mChat, second slash appears:

Code: Select all

 \\(^__^)/ 

Code: Select all

\\ (^. ^ \\)
so after sending the smile is not displayed correctly

Could you please help me, how to fix it? Thank you in advance!

phpBB version: 3.2.5
mChat version: 2.1.2
php version: 7.2.15

User avatar
kasimi
mChat developer
Posts: 907
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: Second slash in smiles

#2

Post by kasimi » 21 Mar 2019, 11:13

Thanks for the detailed bug report, here's the fix: https://github.com/kasimi/mChat/commit/ ... f62ff14e9b

dimassamid
Donor
Posts: 2
Joined: 11 Jan 2019, 04:19

Re: Second slash in smiles

#3

Post by dimassamid » 24 Mar 2019, 21:49

Thank you! It's working! :D

Post Reply

Who is online

Users browsing this forum: Google [Bot], Yandex [Bot] and 1 guest