Skip to content

Commit

Permalink
refactor section names: #313
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Feb 5, 2020
1 parent 4b1db43 commit 954fb4c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions lib/asciidoctor/iso/section.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,11 @@ def section(node)
when "patent notice" then patent_notice_parse(xml, node)
when "scope" then scope_parse(a, xml, node)
when "normative references" then norm_ref_parse(a, xml, node)
when "terms and definitions",
"terms, definitions, symbols and abbreviated terms",
"terms, definitions, symbols and abbreviations",
"terms, definitions and symbols",
"terms, definitions and abbreviations",
"terms, definitions and abbreviated terms"
when "terms and definitions"
@term_def = true
term_def_parse(a, xml, node, true)
@term_def = false
when "symbols and abbreviated terms",
"abbreviations", "abbreviated terms", "symbols"
when "symbols and abbreviated terms"
symbols_parse(a, xml, node)
when "bibliography" then bibliography_parse(a, xml, node)
else
Expand Down

0 comments on commit 954fb4c

Please sign in to comment.