Cocoanetics / DTCoreText

Methods to allow using HTML code with CoreText
BSD 2-Clause "Simplified" License
6.35k stars 1.18k forks source link

crash on __NSArrayM isEqualToString:]: unrecognized selector sent to instance #1243

Closed 451222664 closed 3 years ago

451222664 commented 3 years ago
截屏2021-10-25 下午6 14 53

"<p style=\"padding: 0; margin: 10px 0; line-height: 1.5; font-size: 16px;\"><span style=\"padding: 0; margin: 0; color: var(--card-color,"inherit"); font-size: var(--card-font-size,"inherit");\">Give thexxxxxxxx!<br style=\"padding: 0; margin: 0;\">

<p style=\"padding: 0; margin: 10px 0; line-height: 1.5; font-size: 16px;\">No matter whxxxxxxxxxxx!

<p style=\"padding: 0; margin: 10px 0; line-height: 1.5; font-size: 16px;\">Click <a href=\"https://xxxxxx.com/h5/appArticle?article_id=708\" style=\"padding: 0; margin: 0;\">here for more xxxxxxxxxxxx.

<br style=\"padding: 0; margin: 0;\"><p style=\"padding: 0; margin: 10px 0; line-height: 1.5; font-size: 16px;\"><br style=\"padding: 0; margin: 0;\">

"