I suspect it is being highlighed as a link reference definition. If footnotes are turned on then I think Joplin should probably be checking for the ^ character that marks it as a footnote and not a reference link.
^