(require-package 'tidy)
(add-hook 'html-mode-hook (lambda () (tidy-build-menu html-mode-map)))

(require-package 'tagedit)
(after-load 'sgml-mode
  (tagedit-add-paredit-like-keybindings)
  (add-hook 'sgml-mode-hook (lambda () (tagedit-mode 1))))

(add-auto-mode 'html-mode "\\.(jsp|tmpl)\\'")

;; Note: ERB is configured in init-ruby-mode

(provide 'init-html)

(require-package 'tidy)
(add-hook 'html-mode-hook (lambda () (tidy-build-menu html-mode-map)))

(require-package 'tagedit)
(after-load 'sgml-mode
  (tagedit-add-paredit-like-keybindings)
  (add-hook 'sgml-mode-hook (lambda () (tagedit-mode 1))))

(add-auto-mode 'html-mode "\\.\\(jsp\\|tmpl\\)\\'")

;; Note: ERB is configured in init-ruby-mode

(provide 'init-html)

Fix regexp for jsp auto-mode-alist entry (thanks @liuchunhua)
Fix regexp for jsp auto-mode-alist entry (thanks @liuchunhua)

Closes #298

jachinpy/emacs.d,zhuoyikang/emacs.d,jhpx/emacs.d,jkaessens/emacs.d,atreeyang/emacs.d,roxolan/emacs.d,me020523/emacs.d,qianwan/emacs.d,cyjia/emacs.d,ernest-dzf/emacs.d,blueabysm/emacs.d,fengxl/emacs.d,Shanicky/emacs.d,purcell/emacs.d,baohaojun/emacs.d,emuio/emacs.d,Enzo-Liu/emacs.d,LittleLmp/emacs.d,shafayetkhan/emacs.d,zhaotai/.emacs.d,kindoblue/emacs.d,lust4life/emacs.d,Guoozz/emacs.d,zenith-john/emacs.d,jachinpy/emacs.d,benkha/emacs.d,cjqw/emacs.d,blueseason/emacs.d,arthurl/emacs.d,braveoyster/emacs.d,modkzs/emcs.d,lujianmei/emacs.d,kongfy/emacs.d,46do14/emacs.d,mmqmzk/emacs.d,gsmlg/emacs.d,renatoriccio/emacs.d,svenyurgensson/emacs.d,Werewolflsp/emacs.d,dcorking/emacs.d,wegatron/emacs.d,sgarciac/emacs.d,qinshulei/emacs.d,lromang/emacs.d,LKI/emacs.d,danfengcao/emacs.d,alant/emacs.d,krzysz00/emacs.d