Make text replacements _really_ work