MDHTMLLabel icon indicating copy to clipboard operation
MDHTMLLabel copied to clipboard

:link: A lightweight class for rendering text containing HTML tags on iOS 6.0+

Results 26 MDHTMLLabel issues
Sort by recently updated
recently updated
newest added

`@property(strong, nonatomic) IBOutlet MDHTMLLabel *customMessageLabel;` ``` _customMessageLabel.delegate = self; _customMessageLabel.numberOfLines = 3; [_customMessageLabel sizeToFit]; _customMessageLabel.verticalAlignment = MDHTMLLabelVerticalAlignmentCenter; _customMessageLabel.linkAttributes = @{ NSForegroundColorAttributeName: [UIColor blueColor], NSFontAttributeName: [UIFont boldSystemFontOfSize:_customMessageLabel.font.pointSize], NSUnderlineStyleAttributeName: @(NSUnderlineStyleSingle) }; _customMessageLabel.activeLinkAttributes...

I needed to use superscript/subscript but MDHTMLLabel doesn't support it, so I implemented it and though it works, it doesn't for iOS9.x. Texts are not subscripted nor superscripted. I've reviewed...

- (void)setHtmlText:(NSString *)htmlText { if ([_htmlText isEqualToString:htmlText]) { return; } _htmlText = [htmlText copy]; _htmlAttributedText = nil; if (_htmlText) { //*****(this code seems needless( change a param). when i comment...

With acute (ie. á), uml (ie. ä), ñ and non breakable space

While trying to set html text to label, SIGABRT crash on MDHTMLLabel.m in line number 1463. **\* Terminating app due to uncaught exception 'NSRangeException', reason: '-[**NSCFString replaceOccurrencesOfString:withString:options:range:]: Range {0, 1}...

It's crashing when opening and closing the **b** tag without content between both. The error is in **MDHTMLLabel.m**, line 1194. ![screen shot 2016-11-30 at 14 35 50](https://cloud.githubusercontent.com/assets/1855500/20761526/73b041e6-b70a-11e6-87d8-923bc74a41c2.png) PS: It's not...

Hello Matt, Thanks In Advance... We are using MDHTMLLabel for display below html string. You are now manager of . we have 2 scenarios.. 1. by direct use above Then...

if I set **htmlText** as ` ` it appears `&nbsp` in label.

hi, i got a crash when i parse such html <img alt=\"\" src=\"about:blank\" /> ... as you see, alt=\"\", so when the code goes to the extractStyleFromText method, the follow...