I just typed two single hyphens from my iOS device. One: - two: —

Edit: when I edit this comment they have been merged in the form so I speculate this is an iOS keyboard feature.