final working solution for disabling <p></p>