Added #\# to the list of unwise characters that should be escaped.