Closed jasonleibowitz closed 4 years ago
Merging #37 into master will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #37 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 24 25 +1
=========================================
+ Hits 24 25 +1
Impacted Files | Coverage Δ | |
---|---|---|
src/lib/utils.js | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 6206080...38da13c. Read the comment docs.
Fix for #33 as initially implemented by @wyantb. This PR creates a new util method,
escapeICSDescription
that converts any carriage returns or HTML br tags to valid new lines as identified in this SO post.This PR also includes a unit test for that new method as well as adds an example to the docs of fixing new lines in generated ICS files.