harden meta tags text input and deletion against yaml syntactic errors