Add scrollRangeToVisible:animated to DTAttributedTextView
Fix scrollRangeToVisible:animated did not honor animated param
Handle HTML align
Merge pull request #384 from hsarret/master

Handle HTML align
added alignment attribute unit test also to Mac unit tests
fixed potential crash if local file path does not point to valid image file URL
improved support for data: URLs.

- Try native decoding first.
- then DTBase64Coding
- change DTLazyImageView to not load file and data URLs async
Added method for counting paragraphs in NSString
Fixes with line truncation for DTAttributedLabel
Removed overriding paragraphSpacing to 0 in list prefix
Merge pull request #389 from shc-vj/master

Quick fixes with line truncation for DTAttributedLabel
workaround invalid list range by extending it to full paragraphs
Merge branch 'master' of github.com:Cocoanetics/DTCoreText
Updated dependency versions in podspec
Updated podspec for Cocoapods 0.18
Updated version no
disabled square bullet overriding for now.

This was causing trouble with the editor since for an empty LI entry the font would get messed up after reopening a saved document.
More efficient solution to line truncation in DTAttributedLabel.
Bug fixes in DTCoreTextLayoutFrame :
- paragraphRanges was not properly calculated when a string isn't ended with '\n'
- uninitialized variable baseWritingDirection in [DTCoreTextLayoutFrame_buildLinesWithTypesetter] so for a attributed strings without paragraph style (by ex. created with [NSAttributedString initWithString:] ) lines were rendered wrong
Merge pull request #394 from shc-vj/master

More efficient solution to line truncation in DTAttributedLabel, bug fixes in DTCoreTextLayoutFrame
fixed bug in -paragraphRanges, optimized to avoid slow splitting