1"use strict";(self.webpackChunkmarkuplint_website=self.webpackChunkmarkuplint_website||[]).push([[7198],{7479(e,t,n){n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>d,default:()=>m,frontMatter:()=>s,metadata:()=>r,toc:()=>a});const r=JSON.parse('{"id":"migration/v4-to-v5/rules/deprecated-element","title":"deprecated-element","description":"Split into no-obsolete-element (error, HTML LS removed elements) and no-deprecated-element (warning, MDN/BCD). The alias copies the old setting to both until v6.","source":"@site/docs/migration/v4-to-v5/rules/deprecated-element.md","sourceDirName":"migration/v4-to-v5/rules","slug":"/migration/v4-to-v5/rules/deprecated-element","permalink":"/docs/migration/v4-to-v5/rules/deprecated-element","draft":false,"unlisted":false,"editUrl":"https://github.com/markuplint/markuplint/edit/main/website/docs/migration/v4-to-v5/rules/deprecated-element.md","tags":[],"version":"current","sidebarPosition":3,"frontMatter":{"sidebar_position":3,"title":"deprecated-element"},"sidebar":"migration","previous":{"title":"required-element","permalink":"/docs/migration/v4-to-v5/rules/required-element"},"next":{"title":"table-row-column-alignment","permalink":"/docs/migration/v4-to-v5/rules/table-row-column-alignment"}}');var o=n(4848),i=n(8453);const s={sidebar_position:3,title:"deprecated-element"},d="deprecated-element",l={},a=[];function c(e){const t={a:"a",code:"code",h1:"h1",header:"header",p:"p",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"deprecated-element",children:(0,o.jsx)(t.code,{children:"deprecated-element"})})}),"\n",(0,o.jsxs)(t.p,{children:["Split into ",(0,o.jsx)(t.code,{children:"no-obsolete-element"})," (",(0,o.jsx)(t.code,{children:"error"}),", HTML LS removed elements) and ",(0,o.jsx)(t.code,{children:"no-deprecated-element"})," (",(0,o.jsx)(t.code,{children:"warning"}),", MDN/BCD). The alias copies the old setting to both until v6."]}),"\n",(0,o.jsxs)(t.p,{children:["v4 ",(0,o.jsx)(t.code,{children:"deprecated-element"})," defaulted to ",(0,o.jsx)(t.code,{children:"error"})," for both kinds. In v5 only obsolete stays ",(0,o.jsx)(t.code,{children:"error"}),"."]}),"\n",(0,o.jsxs)(t.p,{children:["This rule never checked non-standard elements. That check is the new ",(0,o.jsx)(t.code,{children:"no-nonstandard-features"})," rule (not present in v4). See ",(0,o.jsx)(t.a,{href:"/docs/migration/v4-to-v5/rules/rule-names",children:"Renames and splits"}),"."]})]})}function m(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}},8453(e,t,n){n.d(t,{R:()=>s,x:()=>d});var r=n(6540);const o={},i=r.createContext(o);function s(e){const t=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.