Skip to content

Commit

Permalink
Add note on php-xml dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
soundasleep authored Feb 26, 2018
1 parent bcfaf5b commit 1818e90
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ You can also include the supplied `html2text.php` and use `$text = convert_html_

Some very basic tests are provided in the `tests/` directory. Run them with `composer install --dev && vendor/bin/phpunit`.

## Troubleshooting

### Class 'DOMDocument' not found

You need to [install the PHP XML extension](https://github.com/soundasleep/html2text/issues/55) for your PHP version. e.g. `apt-get install php7.1-xml`

## License

`html2text` is dual licensed under both [EPL v1.0](https://www.eclipse.org/legal/epl-v10.html) and [LGPL v3.0](http://www.gnu.org/licenses/lgpl.html), making it suitable for both Eclipse and GPL projects.
Expand Down

0 comments on commit 1818e90

Please sign in to comment.