Address review feedback on void element rendering

Closes #1388926

Merge request reports

Loading