kof / emoticons Goto Github PK
View Code? Open in Web Editor NEWParse text emoticons and replace them by graphics.
License: Other
Parse text emoticons and replace them by graphics.
License: Other
In demo html output is not escaped.
for example if you type <img src="https://www.google.pl/images/nav_logo242.png" />
in textbox then demo shows Google logo instead of text
In the readme you mention http://factoryjoe.com/projects/emoticons, which includes the animated icons.
Is there any chance those could be added to this project?
link is invalid at bottom of readmehttp://factoryjoe.com/projects/emoticons
Hi there,
Without the "main" property in package.json, I can't seem to require emoticons with Node.
Adding "main": "./lib/emoticons.js",
to package.json fixes my issue.
Am I missing something?
my english is not so good. im trying to say, when i write ' asd:D ' in your module, text is replacing to emotion. i dont want to this.
can you tell me how can i do this replacement with you module
if else logic is:
text= 'a:D'
if text start with " ' " or ' " ' or . or \s(spaces tabs) text.replace into EMO
else if text end with " ' " or ' " ' or . or , or ! or ? or \s(spaces tabs) text.replace into EMO
else - dont replace the text
in the regular expression logic is
in here
http://www.regexr.com/3986j
if you just look at the link, i think you may understand what im saying
thank you for reading this
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.