replace &#39; with single quote (fixes #16)