Skip to content

Commit

Permalink
fix: allow html in pagination labels
Browse files Browse the repository at this point in the history
fixes #36
  • Loading branch information
vvo committed Aug 7, 2015
1 parent 60052fc commit 4147358
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions components/Pagination/PaginationLink/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ class PaginationLink extends React.Component {

return (
<li className={className}>
<a href={href} aria-label={ariaLabel} onClick={this.click.bind(this, page)}>
{label}
<a
href={href}
aria-label={ariaLabel}
onClick={this.click.bind(this, page)}
dangerouslySetInnerHTML={{__html: label}}>
</a>
</li>
);
Expand Down

0 comments on commit 4147358

Please sign in to comment.