MarkdownPlus icon indicating copy to clipboard operation
MarkdownPlus copied to clipboard

PHP-Warning Messages for invalid Checkbox-Markdown

Open wakka90 opened this issue 3 years ago • 5 comments

Hi,

thanks for the great Plugin! :) we are using the latest Kanboard Version 1.2.22 and the latest Plugin for MarkdownPlus installed via PluginManager in Kanboard.

The following example will throw a Warning-Message in Kanboard:

grafik

The Warning would be displayed anywhere in Kanboard (Description, Comments, etc.) where the error occurs.

We created a Merge Request like this one (https://github.com/creecros/MarkdownPlus/commit/bcff4903f288252fa9562c79ba519f454ac1ab0d) for a quickfix.

Regards.

wakka90 avatar May 19 '22 12:05 wakka90

hey, thanks for the report!

what does the description look like to create the error case?

Chaosmeister avatar May 19 '22 12:05 Chaosmeister

Hi, here are the entries for the Description. Using the space will make a difference for checkboxes and will throw the warning message as seen in the screenshot above.

[]Test Failure

[ ] Test OK

wakka90 avatar May 19 '22 12:05 wakka90

I can't reproduce this behaviour on my instance:

image

image

what configuration does your server have?

Chaosmeister avatar May 19 '22 13:05 Chaosmeister

This is our configuration:

grafik

wakka90 avatar May 19 '22 13:05 wakka90

ah might be a php 8 thing then. I'll merge your fix

thanks again for reporting!

Chaosmeister avatar May 19 '22 13:05 Chaosmeister