Change dotless textOnly deprecation warning to only warn for blocks

Fix for some of the false deprecation warnings that have come up in #1036