Core: added another condition to linkify/embedify method.