lib/bolognese/readers/schema_org_reader.rb in bolognese-0.9.21 vs lib/bolognese/readers/schema_org_reader.rb in bolognese-0.9.22

- old
+ new

@@ -53,10 +53,10 @@ "date_published" => date_published, "date_modified" => meta.fetch("dateModified", nil), "description" => meta.fetch("description", nil).present? ? { "text" => sanitize(meta.fetch("description")) } : nil, "license" => { "id" => meta.fetch("license", nil) }, "version" => meta.fetch("version", nil), - "keywords" => meta.fetch("keywords", nil) + "keywords" => meta.fetch("keywords", nil).to_s.split(", ") } end def get_schema_org(id: nil) return nil unless id.present?