From db0c51538e60b234c0d651a4b97063983d642a19 Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Thu, 27 Mar 2014 16:21:36 -0400 Subject: [PATCH] simplify li selectors --- lib/word-to-markdown.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/word-to-markdown.rb b/lib/word-to-markdown.rb index 7416a60..aedb876 100644 --- a/lib/word-to-markdown.rb +++ b/lib/word-to-markdown.rb @@ -11,10 +11,10 @@ class WordToMarkdown MIN_HEADING_SIZE = 20 LI_SELECTORS = %w[ - MsoListParagraphCxSpFirst - MsoListParagraphCxSpMiddle - MsoListParagraphCxSpLast - MsoListParagraph + .MsoListParagraphCxSpFirst + .MsoListParagraphCxSpMiddle + .MsoListParagraphCxSpLast + .MsoListParagraph ] attr_reader :path, :doc @@ -143,7 +143,7 @@ def h(n) # CSS selector to select non-symantic lists def li_selectors - ".#{LI_SELECTORS.join(",.")}" + LI_SELECTORS.join(",") end # Try to make semantic markup explicit where implied by the export