lib/grammar.tt in parse_a_changelog-1.0.0 vs lib/grammar.tt in parse_a_changelog-1.0.1
- old
+ new
@@ -5,11 +5,11 @@
rule changelog_header
'# Changelog' "\n"
'All notable changes to this project will be documented in this file.' "\n"
"\n"
- 'The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)' "\n"
- 'and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).' "\n"
+ 'The format is based on [Keep a Changelog](http' 's'? '://keepachangelog.com/en/1.0.0/)' "\n"
+ 'and this project adheres to [Semantic Versioning](http' 's'? '://semver.org/spec/v2.0.0.html).' "\n"
"\n"
end
rule unreleased_section
unreleased_header change_section? ("\n" change_section)*