Steps to reproduce
Navigate to a page on English Wikipedia with content like this (minimal example at w:User:Rummskartoffel/overlapping old style ref example, see also https://en.wikipedia.org/api/rest_v1/page/mobile-html/User%3ARummskartoffel%2Foverlapping_old_style_ref_example):
foo{{ref|1}} bar
Expected results
The page should be rendered as follows: the word "foo" followed with no intervening space by a superscript link with the text "[1]" in a smaller font, then a space, and then the word "bar", as it does in the browser. Screenshot of browser rendering:
Actual results
The word "foo", the superscript link, and the word "bar" all overlap. Screenshot of app rendering:
Environments observed
App version: 2.7.50406-r-2022-06-14
Android OS versions: 9
Device model: Huawei Honor 7x (BND-721)
Device language: German
Note
For clarity: This issue does not occur when <ref> tags are used in place of w:Template:Ref, which is deprecated but still used as much as about 20_000 times.