Skip to content

Commit

Permalink
parse iframely:title type keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
garmoncheg committed Aug 20, 2024
1 parent cdb6150 commit 9dee8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/meta/meta-iframely.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {

for (const [key, value] of Object.entries(meta)) {
// User could provide several keys, e.g.: "iframely autoplay"
let keysToProcess = key.indexOf(" ") !== -1 ? key.split(" ") : [key];
let keysToProcess = key.split(/[:\s]/);

for (var i = 0; i < keysToProcess.length; i++) {
var partKey = keysToProcess[i];
Expand Down

0 comments on commit 9dee8c1

Please sign in to comment.