Skip to content

Releases: ZhgChgLi/ZMarkupParser

v1.3.5

13 Mar 15:42
Compare
Choose a tag to compare
  • support rendering <h1>/<h2>/<h3>/<h4>/<h5>/<h6> to correspond with their respective sizes.*1

*1 you can modify them in the builder during runtime by using ZHTMLParserBuilder.initWithDefault().add(H1_HTMLTagName(), withCustomStyle: MarkupStyle(font: MarkupStyleFont(size: 18, weight: .style(.semibold)))).build().

Thanks to @makhocheung for noticing that I missed supporting H tags. #12

v1.3.3

11 Mar 17:36
Compare
Choose a tag to compare
  • add MarkupStylePolicy, you can specify in ZHTMLParserBuilder to decide HTML Style Attribute merge policy
  • fix performance tests
  • add Technical Detail

v1.3.2

10 Mar 09:30
Compare
Choose a tag to compare
  • fixed <table> format
  • increase test coverage

v1.3.0

09 Mar 15:33
Compare
Choose a tag to compare
  • support parser <img>/<tr>/<td>/<tr> officially 🎉, you can use ZMarkupPaser render image tag currently!
  • code optimization, remove unused struct, make markup tree clean
  • optimization list item present

#7 , #5 , #6

v1.2.5

26 Feb 09:18
Compare
Choose a tag to compare
  • Fix Extend Style Attribute

v1.2.4

25 Feb 06:30
Compare
Choose a tag to compare
  • bug fixed
  • add more tests

v1.2.1

23 Feb 17:04
Compare
Choose a tag to compare
  • fix memory leak

v1.1.9

22 Feb 15:16
Compare
Choose a tag to compare
  • fix render result should be nil if markstyle is nil

v1.1.8

21 Feb 14:45
Compare
Choose a tag to compare
  • update pod spec

v1.1.6

21 Feb 13:52
Compare
Choose a tag to compare
  • performance optimized
  • support render from selector's result