mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 18:39:45 +00:00
Fix #261: ignore meaningless Exif data
This commit is contained in:
@@ -176,6 +176,8 @@ namespace QuickLook.Plugin.ImageViewer.Exiv2
|
||||
if (string.IsNullOrWhiteSpace(l))
|
||||
return;
|
||||
var eles = Regex.Split(l, regexSplit + "");
|
||||
if (eles.Length < 2)
|
||||
return;
|
||||
res.Add(eles[0].Trim(), eles.Skip(1).Aggregate((a, b) => $"{a}{regexSplit}{b}"));
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user