only parse strings, in case someone uses ActiveScaffold.replace with elements instead of string