Currently, it is possible to start section titles on a wiki page with a space. This happens e.g. when using an anchor at the beginning of the title (see this module doc: the first two section titles start with a space, the last two do not). Such leading spaces appear to be invisible in Chrome (and probably most other browsers). However, they are present in the HTML and are displayed in Safari (tested with iOS 15), which gives affected section titles a little indentation. This is very visible in the mobile version when all sections are collapsed.
I cannot imagine a use case for section titles with leading spaces. They are also ignored in section IDs and linking. To avoid such unwanted layout quirks, it would be best if the spaces were simply removed from the HTML.