opensourcedesign.github.io icon indicating copy to clipboard operation
opensourcedesign.github.io copied to clipboard

When creating a job, in the job form, strip out @ from the beginning of github & twitter usernames

Open simonv3 opened this issue 8 years ago • 6 comments

Those things break frontmatter.

simonv3 avatar May 10 '17 15:05 simonv3

can we mask/escape it?

jdittrich avatar May 11 '17 07:05 jdittrich

@jdittrich how do you mean?

simonv3 avatar May 11 '17 14:05 simonv3

In HTML, one can replace @ with "@" – which is displayed as @ (naturally, one needs to know which @ we can replace and which need to be interpreted in the frontmatter)

jdittrich avatar May 11 '17 16:05 jdittrich

I don't think that would work, because if they include it in the form input field and we don't strip it, and we point it to their GitHub profile ourselves, then their profile might be github.com/&#64simonv3, which would be incorrect. I think it's better to just remove it all together.

simonv3 avatar May 11 '17 17:05 simonv3

I just got this errorbug trying to submit a job so I screen capped it:

Screenshot 2020-06-15 at 14 12 21

It happened if I put into the github username field both:

@myusername myusername

the '@' symbol made no difference :/ both errors

Erioldoesdesign avatar Jun 15 '20 13:06 Erioldoesdesign