Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't recognize some http:// links #27

Closed
Infocatcher opened this issue Sep 1, 2012 · 1 comment
Closed

Can't recognize some http:// links #27

Infocatcher opened this issue Sep 1, 2012 · 1 comment

Comments

@Infocatcher
Copy link
Contributor

http://govnokod.ru/11690 (backup: https://gist.github.com/3573894)
See

.replace(/<smiley1>/g,'<img src="http://vk.com/images/emoji/D83DDE0A.png">')
.replace(/<smiley2>/g,'<img src="http://vk.com/images/emoji/D83DDE03.png">')
.replace(/<smiley3>/g,'<img src="http://vk.com/images/emoji/D83DDE06.png">')
...

Works for first two links, but fails for third and following (except last).
And fails with
View – Page Style – No Style
too

* GitHub says: Comment contains unicode characters above 0xffff
So I remove unicode smileys.

@Infocatcher
Copy link
Contributor Author

Fixed by commit d59bee7, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant