Originally reported on the English Wikipedia help desk.
List of steps to reproduce (step by step, including full links if applicable):
Using the Wikipedia Android app, navigate to a page with content like this (minimal example at w:User:Rummskartoffel/indented ref in poem tag example, see also https://en.wikipedia.org/api/rest_v1/page/html/User:Rummskartoffel%2Findented_ref_in_poem_tag_example):
<poem>
:<ref>using tags</ref>
</poem>
<poem>
:{{#tag:ref|using tag parser function}}
</poem>What happens?:
The page is rendered as the following two lines: the indented literal text <ref>using tags</ref> on the first line, followed by an indented reference footnote on the second line. The reference list contains a single entry with the label using tag parser function.
What should have happened instead?:
The page should be rendered as the following two lines: an indented reference footnote on the first line, followed by a different indented reference footnote on the second line. The reference list should contain two entries, with the labels using tags and using tag parser function , respectively. This is the behaviour of the web interface.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.: N/A