Skip to content

Commit

Permalink
Fix for frontend.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored and jorgefilipecosta committed Sep 10, 2018
1 parent 680c767 commit d71a0cc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/block-library/src/pullquote/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,12 @@ export const settings = {
const { value, citation } = attributes;

return (
<blockquote>
<RichText.Content value={ toRichTextValue( value ) } />
{ ! RichText.isEmpty( citation ) && <RichText.Content tagName="cite" value={ citation } /> }
</blockquote>
<figure>
<blockquote>
<RichText.Content value={ toRichTextValue( value ) } />
{ ! RichText.isEmpty( citation ) && <RichText.Content tagName="cite" value={ citation } /> }
</blockquote>
</figure>
);
},

Expand Down

0 comments on commit d71a0cc

Please sign in to comment.