Skip to content

Commit

Permalink
version 0.5.0: add support for mms://
Browse files Browse the repository at this point in the history
  • Loading branch information
Mithgol committed May 18, 2014
1 parent 53d8c80 commit f53d585
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fidohtml.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ FidoHTML.prototype.fromText = function(msgText){
/* jshint -W101 */
var _converter = this;
var lines = msgText.replace(/(^|\r?\n) /g, '$1\u00A0').split(
/(\b(?:https?|ftp|mailto|bitcoin|ed2k|facetime|feed|geo|irc(?:6|s)?|magnet|news|nntp|sips?|skype|sms|ssh|tel|telnet|tftp|xmpp):[^\s<>\x22\x27{}|\^\[\]`]+)/
/(\b(?:https?|ftp|mailto|bitcoin|ed2k|facetime|feed|geo|irc(?:6|s)?|magnet|mms|news|nntp|sips?|skype|sms|ssh|tel|telnet|tftp|xmpp):[^\s<>\x22\x27{}|\^\[\]`]+)/
);

return lines.map(function(line, index){
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fidohtml",
"main": "fidohtml.js",
"version": "0.4.0",
"version": "0.5.0",
"description": "Makes HTML code out of a Fidonet message.",
"keywords": ["Fidonet", "Fido", "HTML"],
"author": { "name": "Mithgol the Webmaster" },
Expand Down

0 comments on commit f53d585

Please sign in to comment.