exifpanel: fixed missing markup escaping when adding tag values
Fixes #54 (cherry picked from commit 383619d6260fa10b8f112e3dc55e0323f5e99b43)
This commit is contained in:
committed by
Lawrence Lee
parent
1de9516ef0
commit
3f05564548
@@ -329,7 +329,7 @@ void ExifPanel::refreshTags()
|
|||||||
p.second = k.tagLabel();
|
p.second = k.tagLabel();
|
||||||
if (pos != exif.end() && pos->size()) {
|
if (pos != exif.end() && pos->size()) {
|
||||||
edited = changeList->find(pos->key()) != changeList->end();
|
edited = changeList->find(pos->key()) != changeList->end();
|
||||||
value = pos->print(&exif);
|
value = escapeHtmlChars(pos->print(&exif));
|
||||||
}
|
}
|
||||||
addTag(p.first, lbl, value, true, edited);
|
addTag(p.first, lbl, value, true, edited);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user