`src='solution 1' height=300 border=1 src2="https://en.wikipedia.org/wiki/"`{
src: 'solution 1'
border: 1,
...
}(\S+)=["']?((?:.(?!["']?\s+(?:\S+)=|["']))+.)["']?
const attrs = element.getAttributeNames().reduce((acc, name) => {
return {...acc, [name]: element.getAttribute(name)};
}, {});