IJPL-212619 grazie: mark deprecated unused API for removal

API, which was marked as deprecated in 252 or earlier and has no external and internal usages, is marked for removal.

GitOrigin-RevId: 6adb34d6e6ff345fa6886491b1bca257b3ee0077
This commit is contained in:
Nikolay Chashnikov
2026-02-13 14:59:20 +00:00
committed by intellij-monorepo-bot
parent 4d9b47972f
commit afb65d8460
@@ -7,6 +7,7 @@ import com.intellij.grazie.text.TextContent.Exclusion
import com.intellij.grazie.text.TextContent.ExclusionKind
import com.intellij.openapi.progress.ProgressManager
import com.intellij.openapi.util.TextRange
import org.jetbrains.annotations.ApiStatus
import java.util.regex.Pattern
private val anyTag = Pattern.compile("</?(\\w+)[^>]*>")
@@ -47,6 +48,7 @@ fun excludeHtml(content: TextContent?): List<TextContent> {
}
/** Remove HTML markup from a text, replacing it with unknown or markup (for some common HTML tags) offsets. */
@ApiStatus.ScheduledForRemoval
@Deprecated("use excludeHtml", ReplaceWith("excludeHtml"))
fun removeHtml(_content: TextContent?): TextContent? {
var content: TextContent = _content ?: return null