boolean (@NotNull TextProblem problem) { if (isAfterPossibleEscape(problem)) return true; // This HTML (<b>text</b>) is currently split into 3 parts, and the bracket-pairing rule produces false positives. // This can be removed when we implement smarter tag content merging. String id = problem.getRule().getGlobalId(); return id.startsWith("LanguageTool.") && id.endsWith("UNPAIRED_BRACKETS"); }