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

add additional class for icons #281

Merged
merged 3 commits into from
Aug 6, 2014

Conversation

wodka
Copy link
Contributor

@wodka wodka commented Jul 29, 2014

Hi,

I would like to use the stacking of icons like in http://fortawesome.github.io/Font-Awesome/examples/#spinning

-> to do that I added a way to define an icon like .icon-cog+spin

Hi, 

I would like to use the stacking of icons like in http://fortawesome.github.io/Font-Awesome/examples/#spinning

-> to do that I added a way to define an icon like .icon-cog+spin
@@ -71,7 +71,7 @@ public function parseIconsFilter($text)
{
$that = $this;
return preg_replace_callback(
'/\.icon-([a-z0-9-]+)/',
'/\.icon-([a-z0-9\+-]+)/',
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to escape as it is in a character-class.

florianeckerstorfer pushed a commit that referenced this pull request Aug 6, 2014
add additional class for icons
@florianeckerstorfer florianeckerstorfer merged commit 907f26e into braincrafted:develop Aug 6, 2014
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

Successfully merging this pull request may close these issues.

None yet

3 participants