diff --git a/lib/banzai/filter/task_list_filter.rb b/lib/banzai/filter/task_list_filter.rb index c6b402575cb0dc7aa55bac4f1d9fe6af1ef993c2..896f67cb8759c40abb2a41c2caaa3bbefae12cec 100644 --- a/lib/banzai/filter/task_list_filter.rb +++ b/lib/banzai/filter/task_list_filter.rb @@ -9,6 +9,9 @@ module Banzai module Filter class TaskListFilter < TaskList::Filter + def render_item_checkbox(item) + "#{super}" + end end end end diff --git a/spec/fixtures/markdown/markdown_golden_master_examples.yml b/spec/fixtures/markdown/markdown_golden_master_examples.yml index 630528e03731e99c3346a75d7f43f384088fc3c9..8556811974dc5eb2f92f3a80d314e4b6b47bd085 100644 --- a/spec/fixtures/markdown/markdown_golden_master_examples.yml +++ b/spec/fixtures/markdown/markdown_golden_master_examples.yml @@ -218,13 +218,13 @@ @@ -670,19 +670,19 @@ html: |-
  1. - hello
  2. + hello
  3. - world
  4. + world
  5. - example + example
    1. - of nested + of nested
      1. - task list
      2. + task list
      3. - items
      4. + items
    @@ -697,11 +697,11 @@ html: |-
    1. - hello
    2. + hello
    3. - world
    4. + world
    5. - example
    6. + example
    - name: reference_for_project_wiki @@ -810,19 +810,19 @@ html: |-