Skip to content

Commit

Permalink
simplify li selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter committed Mar 27, 2014
1 parent e5a52e0 commit db0c515
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/word-to-markdown.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit db0c515

Please sign in to comment.