replit / evalbot

A bot that speaks code
https://repl.it/site/evalbot
48 stars 6 forks source link

URL encoding with Slackbot #2

Closed thebuilder closed 8 years ago

thebuilder commented 8 years ago

Special chars are lost when using the slackbot.

The following examples will fail when:

console.log('test');

Is converted to: console.log(‘test’);

function fib(n) {
  if (n < 2) {
    return n;
  } else {
    return fib(n - 1) + fib(n - 2);
  }
}
console.log("Fib(9) = " + fib(9));

The < is escaped: http://goo.gl/KK6T5x

masad-frost commented 8 years ago

Fixed in 044ce16c, thanks