Fix minor text escaping bug as pointed out by @dgutov