From 510f613b4461056084f0a4c914239aacf29a2e3c Mon Sep 17 00:00:00 2001 From: Scott Kyle Date: Thu, 17 Mar 2016 02:44:56 -0700 Subject: [PATCH] Support Setext-style h1-level headings This fills a gap left by the recent change to support H1 headings (576f287). --- lib/chandler/changelog.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/chandler/changelog.rb b/lib/chandler/changelog.rb index ffb8762..6a4edd8 100644 --- a/lib/chandler/changelog.rb +++ b/lib/chandler/changelog.rb @@ -16,7 +16,8 @@ class Changelog /^=[[:space:]]+.*\n/, # Rdoc style /^==[[:space:]]+.*\n/, /^===[[:space:]]+.*\n/, - /^\S.*\n-+\n/ # Markdown "Setext" style + /^\S.*\n=+\n/, # Markdown "Setext" style + /^\S.*\n-+\n/ ].freeze attr_reader :path