lib/govspeak.rb in govspeak-8.3.1 vs lib/govspeak.rb in govspeak-8.3.2

- old
+ new

@@ -11,11 +11,10 @@ require "sanitize" require "govspeak/header_extractor" require "govspeak/structured_header_extractor" require "govspeak/html_validator" require "govspeak/html_sanitizer" -require "govspeak/kramdown_overrides" require "govspeak/blockquote_extra_quote_remover" require "govspeak/post_processor" require "govspeak/link_extractor" require "govspeak/template_renderer" require "govspeak/presenters/attachment_presenter" @@ -296,11 +295,11 @@ extension("address", surrounded_by("$A")) do |body| %(\n<div class="address"><div class="adr org fn"><p>\n#{body.sub("\n", '').gsub("\n", '<br />')}\n</p></div></div>\n) end extension("legislative list", /#{NEW_PARAGRAPH_LOOKBEHIND}\$LegislativeList\s*$(.*?)\$EndLegislativeList/m) do |body| - # The surrounding div is neccessary to control flow in `parse_block_html` and - # maintain the same functionality as a previous version of this extension. + # The surrounding div is neccessary to accurately identify legislative lists + # in post-processing. <<~BODY {::options ordered_lists_disabled=\"true\" /} <div class="legislative-list-wrapper" markdown="1">#{body}</div> {::options ordered_lists_disabled=\"false\" /} BODY