generated content is not allowed for replace elements:

* img
* input
* textarea
* select