Issue #676: include characterid and previous text of the text tag in text import error log message