Incorporate separate PR #4516 commits
https://github.com/ether/etherpad-lite/pull/4516 was accidentally squash-merged when it should have been rebased and merged (or regular merged). This merge brings in the separate commits so that the changes can be easily reviewed in the future.pull/4518/head
commit
1f94ac5600