aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/bin
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-10-05 11:35:02 +0000
committerMario <mario@mariovavti.com>2023-10-05 11:35:02 +0000
commit044e252d195be7fb9c523e5ab7e5f37eae7f03fd (patch)
treee8fcefdef750aee3e84e2ddb048e1e11a1c4599f /vendor/bin
parent6920fb2793265e5c9cdcdc8325398b07f216f184 (diff)
downloadvolse-hubzilla-044e252d195be7fb9c523e5ab7e5f37eae7f03fd.tar.gz
volse-hubzilla-044e252d195be7fb9c523e5ab7e5f37eae7f03fd.tar.bz2
volse-hubzilla-044e252d195be7fb9c523e5ab7e5f37eae7f03fd.zip
composer update html to markdown
Diffstat (limited to 'vendor/bin')
-rwxr-xr-xvendor/bin/html-to-markdown10
1 files changed, 6 insertions, 4 deletions
diff --git a/vendor/bin/html-to-markdown b/vendor/bin/html-to-markdown
index 51fec89d8..f75df7b84 100755
--- a/vendor/bin/html-to-markdown
+++ b/vendor/bin/html-to-markdown
@@ -108,10 +108,12 @@ if (PHP_VERSION_ID < 80000) {
}
}
- if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
- include("phpvfscomposer://" . __DIR__ . '/..'.'/league/html-to-markdown/bin/html-to-markdown');
- exit(0);
+ if (
+ (function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true))
+ || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper'))
+ ) {
+ return include("phpvfscomposer://" . __DIR__ . '/..'.'/league/html-to-markdown/bin/html-to-markdown');
}
}
-include __DIR__ . '/..'.'/league/html-to-markdown/bin/html-to-markdown';
+return include __DIR__ . '/..'.'/league/html-to-markdown/bin/html-to-markdown';