aboutsummaryrefslogtreecommitdiffstats
path: root/include/markdown.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-30 22:37:41 +0100
committerMario Vavti <mario@mariovavti.com>2018-10-30 22:37:41 +0100
commitb4bac88c39c6bc6a0533114351ab9f5493aa46c9 (patch)
treeb1182bbbcc02fb3dd59cf338db308884aba6c238 /include/markdown.php
parentc622ba84b9aadd4377ce5ea283121ac27726ea83 (diff)
downloadvolse-hubzilla-b4bac88c39c6bc6a0533114351ab9f5493aa46c9.tar.gz
volse-hubzilla-b4bac88c39c6bc6a0533114351ab9f5493aa46c9.tar.bz2
volse-hubzilla-b4bac88c39c6bc6a0533114351ab9f5493aa46c9.zip
fix markdown tests
Diffstat (limited to 'include/markdown.php')
-rw-r--r--include/markdown.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/markdown.php b/include/markdown.php
index e7b57c3ee..64f0a0854 100644
--- a/include/markdown.php
+++ b/include/markdown.php
@@ -283,9 +283,10 @@ function bb_to_markdown($Text, $options = []) {
* If the HTML text can not get parsed it will return an empty string.
*
* @param string $html The HTML code to convert
+ * @param array $options an array of options to pass to the environment
* @return string Markdown representation of the given HTML text, empty on error
*/
-function html2markdown($html,$options = []) {
+function html2markdown($html, $options = []) {
$markdown = '';
if(! $options) {