-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line 393: $Content is array when it should be string #29
Comments
Can you provide the minimum text input, so that I can test it myself? |
here's the text I used:
tested on php 8.1.2. It also doesn't work on 7.4.27, but I don't have the output log for it. |
Sorry, cannot reproduce the issue. Have you checked this pull request? <?php
require 'vendor/autoload.php';
$Parsedown = new ParsedownExtraPlugin;
$text = <<<S
In the beginning, the universe was created.
This line comes after a line break.
Can I inject html tags? <b>Lets see!</b>
> Here's a markdown quote and some *italics* and <u>underline</u> and ~~strike one~~
>
> additional quotes
>
> last row
1. one
2. two
* test
----
# test1
hi
![stoat](test/stoat.jpg)
a humble stoate.
S;
echo '<p><mark>' . PHP_VERSION . '</mark></p>';
echo $Parsedown->text($text);
?> |
I've downdated ParsedownExtra to 0.8.0 and now receive this error log instead:
If it helps, I'm not using composer. EDIT: I know this is unrelated to the plugin, but I just noticed that ParsedownExtra 0.8.0 doesn't work for me either (0.8.1 works fine). I get the following error log when I use the
the undefined method in question, |
The above code prints the expected output when the class
Parsedown
orParsedownExtra
is used. When usingParsedownExtraPlugin
, I get the following error and stack trace in the output log (with parts of the filepath omitted)The text was updated successfully, but these errors were encountered: