I have the html page with the following input tag. I want to add an apostrophe '
in this pattern.
<input pattern='^[,.’'()а-яА-ЯёЁ\\-0-9\"№?!;: iIіІўЎ]+$' type='text'/>
But when I see it in browser DevTools (Google Chrome 45.0) I get the following input tag
<input pattern="^[,.’" ()а-яА-ЯёЁ\-0-9"№?!;:="" iiіІўЎ]+$'="" type="text"/>
So my pattern ends on my apostrophe and looks like pattern="^[,.’".
I tried to set \'
, but it didn't help. I really need some good advice how to do this. Thanks.
EDIT JSFiddle