aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/league/html-to-markdown
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/league/html-to-markdown')
-rw-r--r--vendor/league/html-to-markdown/.github/FUNDING.yml2
-rw-r--r--vendor/league/html-to-markdown/.github/SECURITY.md13
-rw-r--r--vendor/league/html-to-markdown/CHANGELOG.md9
-rw-r--r--vendor/league/html-to-markdown/LICENSE4
-rw-r--r--vendor/league/html-to-markdown/src/Converter/ListItemConverter.php2
5 files changed, 24 insertions, 6 deletions
diff --git a/vendor/league/html-to-markdown/.github/FUNDING.yml b/vendor/league/html-to-markdown/.github/FUNDING.yml
index 11ea19c6c..5f2ca1499 100644
--- a/vendor/league/html-to-markdown/.github/FUNDING.yml
+++ b/vendor/league/html-to-markdown/.github/FUNDING.yml
@@ -1,3 +1,3 @@
github: colinodell
-patreon: colinodell
+tidelift: "packagist/league/html-to-markdown"
custom: ["https://www.colinodell.com/sponsor", "https://www.paypal.me/colinpodell/10.00"]
diff --git a/vendor/league/html-to-markdown/.github/SECURITY.md b/vendor/league/html-to-markdown/.github/SECURITY.md
new file mode 100644
index 000000000..5741abb4a
--- /dev/null
+++ b/vendor/league/html-to-markdown/.github/SECURITY.md
@@ -0,0 +1,13 @@
+# SECURITY POLICY
+
+## Supported Versions
+
+When a new **minor** version (`5.x`) is released, the previous one will continue to receive security and bug fixes for *at least* 3 months.
+
+When a new **major** version is released (`4.0`, `5.0`, etc), the previous one will receive bug fixes for *at least* 3 months and security updates for 6 months after that new release comes out.
+
+(This policy may change in the future and exceptions may be made on a case-by-case basis.)
+
+## Reporting a Vulnerability
+
+If you discover a security vulnerability within this package, please use the [Tidelift security contact form](https://tidelift.com/security) or email Colin O'Dell at <colinodell@gmail.com>. All security vulnerabilities will be promptly addressed. Please do not disclose security-related issues publicly until a fix has been announced.
diff --git a/vendor/league/html-to-markdown/CHANGELOG.md b/vendor/league/html-to-markdown/CHANGELOG.md
index 71ae9c9a8..36fb1249e 100644
--- a/vendor/league/html-to-markdown/CHANGELOG.md
+++ b/vendor/league/html-to-markdown/CHANGELOG.md
@@ -4,6 +4,12 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
## [Unreleased][unreleased]
+## [5.0.1] - 2021-09-17
+
+### Fixed
+
+ - Fixed lists not using the correct amount of indentation (#211)
+
## [5.0.0] - 2021-03-28
### Added
@@ -293,7 +299,8 @@ not ideally set, so this releases fixes that. Moving forwards this should reduce
### Added
- Initial release
-[unreleased]: https://github.com/thephpleague/html-to-markdown/compare/5.0.0...master
+[unreleased]: https://github.com/thephpleague/html-to-markdown/compare/5.0.1...master
+[5.0.1]: https://github.com/thephpleague/html-to-markdown/compare/5.0.0...5.0.1
[5.0.0]: https://github.com/thephpleague/html-to-markdown/compare/4.10.0...5.0.0
[4.10.0]: https://github.com/thephpleague/html-to-markdown/compare/4.9.1...4.10.0
[4.9.1]: https://github.com/thephpleague/html-to-markdown/compare/4.9.0...4.9.1
diff --git a/vendor/league/html-to-markdown/LICENSE b/vendor/league/html-to-markdown/LICENSE
index 6c04a59dd..a192f156f 100644
--- a/vendor/league/html-to-markdown/LICENSE
+++ b/vendor/league/html-to-markdown/LICENSE
@@ -1,8 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2015 Colin O'Dell
-
-Originally created by Nick Cernis
+Copyright (c) 2015 Colin O'Dell; Originally created by Nick Cernis
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
diff --git a/vendor/league/html-to-markdown/src/Converter/ListItemConverter.php b/vendor/league/html-to-markdown/src/Converter/ListItemConverter.php
index 91b3b5dbe..1521aad53 100644
--- a/vendor/league/html-to-markdown/src/Converter/ListItemConverter.php
+++ b/vendor/league/html-to-markdown/src/Converter/ListItemConverter.php
@@ -29,7 +29,7 @@ class ListItemConverter implements ConverterInterface, ConfigurationAwareInterfa
// Add spaces to start for nested list items
$level = $element->getListItemLevel();
- $value = \trim(\implode("\n" . ' ', \explode("\n", \trim($element->getValue()))));
+ $value = \trim(\implode("\n" . ' ', \explode("\n", \trim($element->getValue()))));
// If list item is the first in a nested list, add a newline before it
$prefix = '';