fix #30681
Merge pull request #1355 from AntonioBL/imported_text

fix #30681