fxbois / web-mode

web template editing mode for emacs
https://web-mode.org
GNU General Public License v3.0
1.64k stars 260 forks source link

update list of tags #1280

Closed flogth closed 1 year ago

flogth commented 1 year ago

Hi, this patch sorts/updates web-mode-tag-list

The new list is generated from the html spec :

curl -s "https://html.spec.whatwg.org" \
      | xmllint --html --xpath '//*[@id="elements-3"]/following-sibling::table[1]/tbody/tr/th[1]/*/*/text()' - 2>/dev/null \
      | awk '{printf("\"%s\"\n", $0)}'

This adds the following tags from the spec:

(seq-difference generated-tags web-mode-tag-list) 
;; ("hgroup" "kbd" "mark" "search" "ul")

It should be noted that I removed the following elements from the list

(seq-difference web-mode-tag-list generated-tags) 
;; ("ula" "kbdmark" "portal")

where I suspect that

fxbois commented 1 year ago

thx