Embedding theorems for functions with inner singularities