Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
nleush committed Sep 20, 2024
2 parents 48e5535 + 2dc7825 commit 34f1026
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/links/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ export default {

if (media) {
CONFIG.MEDIA_ATTRS.forEach(function(ma) {
var re = "(?:^|[^-])\\b" + ma + "\\s*:\\s*([\\d./:]+)(?:px)?\\b";
var re = "(?:^|[^-])\\b" + ma + "\\s*:\\s*([\\d./:\\s]+)(?:px)?\\b";
var m = media.match(re);
if (m) {
link[ma] = m[1];
link[ma] = m[1].replace(/\s/g, '');
}
});
}
Expand Down

0 comments on commit 34f1026

Please sign in to comment.