zesty-io / manager-ui

Content platform powering enterprise websites and applications
https://www.zesty.io
Other
37 stars 5 forks source link

Fix/filter out doctype tags from legacy head tags #2715

Closed agalin920 closed 1 month ago

agalin920 commented 1 month ago

doctype tag is typically ID: 1 so this filter was removing it properly. However there is an edge case that can include more doctype tags so a better solution is to filter them out by type