Use aspell in emacs for editing HTML pages

166 views Asked by At

I am using the ispell-buffer command in emacs (with aspell as the backend spell checker) to check for typos in the content of HTML pages, but aspell complains at every HTML tag. Is there any way to configure it to ignore HTML tags?

Thanks in advance.

1

There are 1 answers

0
grettke On
(defun my-web-mode-hook ()
  (setq ispell-skip-html t))

(add-hook 'web-mode-hook #'my-web-mode-hook)