ZhgChgLi / ZMarkupParser

ZMarkupParser is a pure-Swift library that helps you convert HTML strings into NSAttributedString with customized styles and tags.
https://link.zhgchg.li/
MIT License
311 stars 24 forks source link

[Feat] add support s/blockquote/em/pre/code #21

Closed zhgchgli0718 closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #21 (243b839) into main (998abff) will increase coverage by 0.53%. The diff coverage is 100.00%.

:exclamation: Current head 243b839 differs from pull request most recent head 3778a88. Consider uploading reports for the commit 3778a88 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   85.58%   86.12%   +0.53%     
==========================================
  Files          85       92       +7     
  Lines        2407     2486      +79     
==========================================
+ Hits         2060     2141      +81     
+ Misses        347      345       -2     
Impacted Files Coverage Δ
...rces/ZMarkupParser/Core/Markup/MarkupVisitor.swift 100.00% <ø> (ø)
...pParser/Core/Markup/Markups/BlockQuoteMarkup.swift 100.00% <100.00%> (ø)
...ZMarkupParser/Core/Markup/Markups/CodeMarkup.swift 100.00% <100.00%> (ø)
...re/Processor/MarkupNSAttributedStringVisitor.swift 99.07% <100.00%> (+0.04%) :arrow_up:
...MarkupParser/HTML/HTMLTag/HTMLTagNameVisitor.swift 100.00% <100.00%> (ø)
.../HTMLTag/HTMLTagNames/BLOCKQUOTE_HTMLTagName.swift 100.00% <100.00%> (ø)
...r/HTML/HTMLTag/HTMLTagNames/CODE_HTMLTagName.swift 100.00% <100.00%> (ø)
...ser/HTML/HTMLTag/HTMLTagNames/EM_HTMLTagName.swift 100.00% <100.00%> (ø)
...er/HTML/HTMLTag/HTMLTagNames/PRE_HTMLTagName.swift 100.00% <100.00%> (ø)
...rser/HTML/HTMLTag/HTMLTagNames/S_HTMLTagName.swift 100.00% <100.00%> (ø)
... and 2 more

... and 1 file with indirect coverage changes