Skip to content

Commit

Permalink
Merge 1a645da into f855d6f
Browse files Browse the repository at this point in the history
  • Loading branch information
liuslevis committed Sep 28, 2015
2 parents f855d6f + 1a645da commit 87fc572
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Core/Source/DTTextAttachmentHTMLElement.m
Expand Up @@ -28,6 +28,7 @@ - (id)initWithName:(NSString *)name attributes:(NSDictionary *)attributes option
DTTextAttachment *attachment = [DTTextAttachment textAttachmentWithElement:self options:options];

// add it to tag
_paragraphStyle = _paragraphStyle ? _paragraphStyle : [[DTCoreTextParagraphStyle alloc] init];
_textAttachment = attachment;

// to avoid much too much space before the image
Expand Down

0 comments on commit 87fc572

Please sign in to comment.