I have this code:

<ul><li>[/] 1</li><li>[/]  2</li><li>[_]  3</li></ul>

And I get this: http://prntscr.com/7nkg

And checkbox should be

disabled="disabled"

Comments

huntny’s picture

Status: Active » Closed (fixed)

for now todo syntax is working 1 syntax per line.

to pass this issue just insert the new line after your task like this :

<ul>
<li>[/] 1</li>
<li>[/]  2</li>
<li>[_]  3</li>
</ul>

for normal case just use todo filter with filtered html input format

i'll add many syntax per line feature in the future if many user need.
For now we can pass this issue by use 1 syntax per line.

but why we need more than one syntax per line ?

razunter’s picture

Because it'll make it WYSIWYG-compatible

huntny’s picture

Status: Closed (fixed) » Postponed

i see, thank for your suggestion
i'll working on it soon!

zanix’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Assigned: Unassigned » zanix
Status: Postponed » Active

I think a good way to parse from wysiwyg text is to detect an ending or beginning html tag in addition to the current method.