autoindent: Fix string detection

This fix the bug example in #17