String (@NotNull XmlTag tag, @NotNull Map<String, String> attributes, boolean hasChildren, @NotNull PsiElement context) { FileType fileType = context.getContainingFile().getFileType(); PsiFile file = tag.getContainingFile(); if (isTrueXml(fileType)) { closeUnclosingTags(tag); } return file.getText(); }