Fixes R&D machinery materials adding exploit

Fixes https://github.com/tgstation/-tg-station/issues/3259
Span classes yaaaaay
Merge branch 'master' of https://github.com/tgstation/-tg-station into RDfix
Merge pull request #3262 from Razharas/RDfix

Fixes R&D machinery materials adding exploit