### Version 3.2.20 ### Reproduction link [sfc.vuejs.org/](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiB9IGZyb20gJ3Z1ZSdcbmltcG9ydCBDb21wIGZyb20gJy4vQ29tcC52dWUnXG5cbmNvbnN0IG1zZyA9IHJlZignSGVsbG8gV29ybGQhJylcbjwvc2NyaXB0PlxuXG48dGVtcGxhdGU+XG4gIDxoMT57eyBtc2cgfX08L2gxPlxuICA8Q29tcCB2LW1vZGVsOm1zZy10ZXN0LnRyaW09XCJtc2dcIiAvPlxuPC90ZW1wbGF0ZT4iLCJpbXBvcnQtbWFwLmpzb24iOiJ7XG4gIFwiaW1wb3J0c1wiOiB7XG4gICAgXCJ2dWVcIjogXCJodHRwczovL3NmYy52dWVqcy5vcmcvdnVlLnJ1bnRpbWUuZXNtLWJyb3dzZXIuanNcIlxuICB9XG59IiwiQ29tcC52dWUiOiI8c2NyaXB0IHNldHVwPlxuaW1wb3J0IHsgcmVmLCBvbk1vdW50ZWQgfSBmcm9tICd2dWUnXG5kZWZpbmVQcm9wcyh7XG4gIG1zZ1Rlc3Q6IHtcbiAgICB0eXBlOiBTdHJpbmcsXG4gICAgcmVxdWlyZWQ6IHRydWUsXG4gIH1cbn0pXG4gIFxuPC9zY3JpcHQ+XG5cbjxzY3JpcHQ+XG4gIGV4cG9ydCBkZWZhdWx0IHtcbiAgICBtb3VudGVkKCkge1xuICAgICAgdGhpcy4kZW1pdCgndXBkYXRlOm1zZ1Rlc3QnLCAnICB0ZXN0dHR0dCAgICcpO1xuICAgIH0gXG4gIH1cbjwvc2NyaXB0PlxuXG48dGVtcGxhdGU+XG4gIDxoMj5iZWZvcmV7eyBtc2dUZXN0IH19YWZ0ZXI8L2gyPlxuPC90ZW1wbGF0ZT4ifQ==) ### Steps to reproduce see message ### What is expected? trim modifier work ### What is actually happening? trim modifier did not work  <!-- generated by vue-issues. DO NOT REMOVE -->