cli icon indicating copy to clipboard operation
cli copied to clipboard

preserve single line break

Open BhavinPatel04 opened this issue 6 years ago • 1 comments

Description

Preserve single line break and convert multiple line breaks into single line break in HTML

Checklist:

  • [ ] I have updated/added documentation affected by my changes.
  • [x] I have added tests to cover my changes.

BhavinPatel04 avatar Dec 28 '18 22:12 BhavinPatel04

Codecov Report

Merging #108 into master will increase coverage by 1.12%. The diff coverage is 93.13%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #108      +/-   ##
==========================================
+ Coverage   40.21%   41.34%   +1.12%     
==========================================
  Files          65       66       +1     
  Lines        1840     1877      +37     
==========================================
+ Hits          740      776      +36     
- Misses       1100     1101       +1     
Impacted Files Coverage Δ
packages/migrate/src/cli.js 0.00% <0.00%> (ø)
...rate/src/util/default-migrations/component-file.js 50.00% <0.00%> (ø)
packages/prettyprint/src/util/formatArgument.js 93.33% <93.33%> (ø)
packages/migrate/src/index.js 92.68% <100.00%> (+1.77%) :arrow_up:
...kages/migrate/src/util/default-migrations/index.js 100.00% <100.00%> (ø)
...igrate/src/util/default-migrations/update-paths.js 100.00% <100.00%> (ø)
packages/prettyprint/src/PrintContext.js 100.00% <100.00%> (ø)
packages/prettyprint/src/prettyPrintAST.js 93.75% <100.00%> (+0.41%) :arrow_up:
packages/prettyprint/src/prettyPrintSource.js 89.47% <100.00%> (+0.58%) :arrow_up:
packages/prettyprint/src/printHtmlElement.js 100.00% <100.00%> (ø)
... and 8 more

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 622145b...0b024ae. Read the comment docs.

codecov[bot] avatar Dec 28 '18 22:12 codecov[bot]