diff --git a/basis/farkup/farkup-tests.factor b/basis/farkup/farkup-tests.factor index 685b1e3a58..27911a8d13 100644 --- a/basis/farkup/farkup-tests.factor +++ b/basis/farkup/farkup-tests.factor @@ -154,3 +154,6 @@ link-no-follow? off [ "\n
" ] [ "\n- a\n___" convert-farkup ] unit-test + +[ "

hello_world how are you today?\n

" ] +[ "hello_world how are you today?\n- hello_world how are you today?" convert-farkup ] unit-test diff --git a/basis/farkup/farkup.factor b/basis/farkup/farkup.factor index 91863490b8..959d53c904 100644 --- a/basis/farkup/farkup.factor +++ b/basis/farkup/farkup.factor @@ -117,7 +117,7 @@ paragraph = ((paragraph-item paragraph-nl-item)+ nl+ => [[ first ]] => [[ paragraph boa ]] -list-item = (cell | inline-tag)* +list-item = (cell | inline-tag | inline-delimiter)* ordered-list-item = '#' list-item => [[ second list-item boa ]]