Closed bytestream closed 2 years ago
@bytestream I haven't looked at this because it's still marked as a draft. I'll be doing some work on this package this weekend, so if this PR is ready to be reviewed and maybe merged in, let me know. Thanks!
@edgrosvenor I was having a hard time getting the implementation to work in the context of this lib; every change would break a test. I ended up writing my own implementation and copying over the tests.
I'll close this and the associated issue given it's perhaps niche.
\n{3,}
to\n\n
- previously behaviour was frankly a hack to handle improperly outputting LFs to begin with<p> </p>
) handling, output now matches that of a browserlf-per-block
option which allows you to control how many LFs are output. For example, if you havep { margin: 0 }
thenlf-per-block => 1
correctly matches the browser outputassertEquals
usage (assertEquals($output, $expected);
should beassertEquals($expected, $output);
)Closes #94