lib/asciidoctor/pdf/linewrap/ja.rb in asciidoctor-pdf-linewrap-ja-0.1.0 vs lib/asciidoctor/pdf/linewrap/ja.rb in asciidoctor-pdf-linewrap-ja-0.2.0

- old
+ new

@@ -13,8 +13,13 @@ paragraphs.each do |paragraph| paragraph.lines.each_with_index do |line, i| paragraph.lines[i] = Asciidoctor::Pdf::Linewrap::Ja::Converter::insert_zero_width_space(line) end end + + list_items = document.find_by context: :list_item + list_items.each do |list_item| + list_item.text = Asciidoctor::Pdf::Linewrap::Ja::Converter::insert_zero_width_space(list_item.text) + end end end end