Fix error on editing yaml and erb files

References 261.