Compare commits

..

No commits in common. '8ed91105eaa5c40f4a31c25c7c1d3fcc12cf0aca' and '774363e18df0c00f1b640f60f46536c867ef143d' have entirely different histories.

  1. 3
      .github/workflows/continuous-integration.yml
  2. 2
      src/Readability.php
  3. 1
      tests/ReadabilityTest.php

@ -3,9 +3,11 @@ name: "CI"
on: on:
pull_request: pull_request:
branches: branches:
- "master"
- "1.x" - "1.x"
push: push:
branches: branches:
- "master"
- "1.x" - "1.x"
env: env:
@ -27,7 +29,6 @@ jobs:
- "8.2" - "8.2"
- "8.3" - "8.3"
- "8.4" - "8.4"
- "8.5"
steps: steps:
- name: "Checkout" - name: "Checkout"

@ -118,7 +118,7 @@ class Readability implements LoggerAwareInterface
'enclose-text' => true, 'enclose-text' => true,
'merge-divs' => true, 'merge-divs' => true,
// 'merge-spans' => true, // 'merge-spans' => true,
'input-encoding' => 'utf8', 'input-encoding' => '????',
'output-encoding' => 'utf8', 'output-encoding' => 'utf8',
'hide-comments' => true, 'hide-comments' => true,
]; ];

@ -17,7 +17,6 @@ class ReadabilityTest extends \PHPUnit\Framework\TestCase
public function testConstructDefault() public function testConstructDefault()
{ {
$readability = $this->getReadability(''); $readability = $this->getReadability('');
$this->assertSame('utf8', $readability->tidy_config['input-encoding']);
$this->assertNull($readability->url); $this->assertNull($readability->url);
$this->assertInstanceOf(\DOMDocument::class, $readability->dom); $this->assertInstanceOf(\DOMDocument::class, $readability->dom);

Loading…
Cancel
Save