Conversation
6ebb390 to
8f9836f
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 1.x #1948 +/- ##
==========================================
+ Coverage 79.65% 79.67% +0.02%
==========================================
Files 832 832
Lines 24757 24748 -9
==========================================
- Hits 19719 19717 -2
+ Misses 5038 5031 -7
🚀 New features to boost your workflow:
|
8f9836f to
434fc69
Compare
dc185c0 to
caa17e5
Compare
caa17e5 to
ead4313
Compare
|
It looks much easier now! What about scenarios where there are some spaces between html elements? Like: <!DOCTYPE html><html> <head><title></title></head> <body><p>invalid</p> </body> </html>You are removing |
|
While detecting DetailsBut I added a test for that case with a string. |
As long as those regexps will detect All I would test is that following string: |
|
There is a test: public function test_create_with_string_with_multiple_spaces() : void
{
$html = '<!DOCTYPE html><html> <head><title></title></head> <body><p>invalid</p> </body> </html>';
$document = new HTMLDocument($html);
self::assertSame(
$html,
$document->toString(),
);
} |
Resolves: #xxx
Change Log
Added
Fixed
Changed
Removed
Deprecated
Security