Share your repls and programming experiences

← Back to all posts
Dictionary Bot
paulfears (68)
Commentshotnewtop
ashtro4 (12)

This is amazing.

paulfears (68)

@ashtro4: Thanks glad you like it

DarkCeptor44 (0)

Why did you put that on line 10, without it the ' is just ', I tested it.

paulfears (68)

@darkceptor44: &APOS is a html safety thing that prevents cross side scripting however whenever there is an apostrophe in a response it will show up as &APOS. So since this bot isn't really vulnerable to cross side scripting I replaced &APOS with an apostrophe to make a better user experience. The syntax looks a little funky however it is just a piece of code that means replace &APOS with an apostrophe