Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Commit

Permalink
- svg sprite local path fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinranks committed Sep 30, 2014
1 parent 48c2f28 commit ec7fe35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/php/src/Emojione.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ class Emojione {
static $sprites = false;
static $imagePathPNG = '//cdn.jsdelivr.net/emojione/assets/png/';
static $imagePathSVG = '//cdn.jsdelivr.net/emojione/assets/svg/';
static $imagePathSVGSprites = './../assets/sprites/emojione.sprites.svg';
static $imagePathSVGSprites = './../../assets/sprites/emojione.sprites.svg';
static $unicode_replaceWith = false;
static $ignoredRegexp = '<object[^>]*>.*?<\/object>|<span[^>]*>.*?<\/span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>';
static $unicodeRegexp = '([#0-9](?>\\xEF\\xB8\\x8F)?\\xE2\\x83\\xA3|\\xC2[\\xA9\\xAE]|\\xE2..(?>\\xEF\\xB8\\x8F)?|\\xE3(?>\\x80[\\xB0\\xBD]|\\x8A[\\x97\\x99])(?>\\xEF\\xB8\\x8F)?|\\xF0\\x9F(?>[\\x80-\\x86].(?>\\xEF\\xB8\\x8F)?|\\x87.\\xF0\\x9F\\x87.|..))';
static $shortcodeRegexp = ':([-+\\w]+):';

static $shortcode_replace = Array(
':hash:' => '0023-20e3',
':zero:' => '0030-20e3',
Expand Down

0 comments on commit ec7fe35

Please sign in to comment.