lib/jekyll-maps/options_parser.rb in jekyll-maps-1.1.6 vs lib/jekyll-maps/options_parser.rb in jekyll-maps-2.0.0
- old
+ new
@@ -1,11 +1,10 @@
module Jekyll
module Maps
class OptionsParser
- OPTIONS_SYNTAX = %r!([^\s]+)\s*:\s*([^\s]+)!
+ OPTIONS_SYNTAX = %r!([^\s]+)\s*=\s*['"]+([^\s'"]+)['"]+!
ALLOWED_FLAGS = %w(
no_cluster
- on_page
).freeze
ALLOWED_ATTRIBUTES = %w(
id
width
height