From e8427adcbcb9c6dd9140450669aef69fb0b39e08 Mon Sep 17 00:00:00 2001 From: Si Wei How Date: Thu, 17 Jul 2025 18:22:43 +0800 Subject: [PATCH] fix lsp-cpp-flycheck-clang-tidy--extract-relevant-doc-section --- clients/lsp-clangd.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/lsp-clangd.el b/clients/lsp-clangd.el index 11d10248670..306d010cd1e 100644 --- a/clients/lsp-clangd.el +++ b/clients/lsp-clangd.el @@ -119,7 +119,7 @@ with class `section', and also removes `headerlinks'." (lsp-cpp-flycheck-clang-tidy--decode-region-as-utf8 (point-min) (point-max)) (lsp-cpp-flycheck-clang-tidy--remove-crlf) (let* ((dom (libxml-parse-html-region (point-min) (point-max))) - (section (dom-by-class dom "section"))) + (section (dom-by-tag dom 'section))) (dolist (headerlink (dom-by-class section "headerlink")) (dom-remove-node section headerlink)) section))