Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/lsp-clangd.el
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ be available here: https://github.com/clangd/clangd/releases/"
This function assumes that the current buffer contains the result
of browsing `clang.llvm.org', as returned by `url-retrieve'.
More concretely, this function returns the main <div> element
with class `section', and also removes `headerlinks'."
with tag `section', and also removes `headerlinks'."
(goto-char (point-min))
(lsp-cpp-flycheck-clang-tidy--narrow-to-http-body)
(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))
Expand Down
Loading