If you add code in the HTML head, the spacing between each line in the rendering result will increase slightly, as shown in the following image.

However, once you comment out the code, the spacing between each image remains consistent as expected.

There is a codesandbox link containing the reproducing code. You can view the rendering changes by commenting out the code.