-
Remove all empty anchor links from HTML
I had a page in WordPress with 100+ empty <a> tags (i.e. links with no content) which were polluting the HTML (and causing the block editor to complain). Rather than manually go through and remove each one in the code editor view of the page, I pasted everything from the code editor into Sublime Text…