Make sure that hyperlink subviews are always line height
removed dispatch_async
This should be called on main thread anyway and all of it synchronous anyway.
Extracted HR drawing from drawInContext...

There is a new method on DTCoreTextLayoutLine isHorizontalRule that is used to determine if a layout line is in fact an HR. If it is then _drawHorizontalRuleFromLine:inContext: is used to draw it instead. Also HR lines report their frame width as CGFLOAT_MAX so that they get picked up by visibleInRect. For drawing this is not used, but the width of the layoutFrame in the context view.

Fixes #305
Added textDelegate to DTAttributedTextCell

Closes #310
Set project name to DTCoreText in many headers
Fixed problem where text blocks background are not draw

If the textDelegate was not set on the attributed cell then drawing of the text block background would be skipped. Instead it should still enumerate text blocks and draw the standard background if set.

Fixes #309
Fixed bug where a second block would not get added if already one existed.

This enables having a DTHTMLElement having multiple textBlocks in the paragraphStyle. Note: this is only the beginning of block support, blocks have to be 100% wide at present and only are used for background-color and padding.

Relates to #309
Added DTAttributedLabel to DTCoreText all-in header

fixes #312
add debug drawing for text blocks
inset -1,-1 custom text block drawing

Because of the clipping of the text content view's area without this part of the border would be clipped
improved handling of margin and padding CSS styles

margins are presently only considered for block-level elements. they are added for left and right. bottom margin becomes the space after a block = paragraphSpacing.

There is a workaround in place because the left padding interferes with list indenting

What should really be done here is calculate the cumulative block and/or list indenting from the margin values of the parents
Added DTEdgeInsetsRelativeToCurrentTextSize:textScale:

this is used to parse margin/padding CSS attributes with multiple values.
Merge branch 'master' of github.com:Cocoanetics/DTCoreText
Merge branch 'master' of github.com:Cocoanetics/DTCoreText
added isTrailingWhitespace method to DTCoreTextGlyphRun

This can be used to avoid drawing of background color, strikeout or underline for empty trailing white space glyph runs.
Implemented isTrailingWhitespace optimization

In two places: DTLinkButton + DTCoreTextLayoutFrame this now shortcuts for the trailing whitespace.

Also this fixes an underline alignment bug visible in the CurrentTest.html: if there are insets those need to be added to the origin of the run bounds.
Merge branch 'master' of github.com:Cocoanetics/DTCoreText
Updated podspec for 1.3.1
Merge branch 'master' of github.com:Cocoanetics/DTCoreText
re-implemented global paragraph style cache