Fix history tags dropdown should unescape html
This commit is contained in:
parent
0458d4a462
commit
52772829ce
1 changed files with 2 additions and 1 deletions
|
@ -25,6 +25,7 @@ var clearDuplicatedHistory = historyModule.clearDuplicatedHistory;
|
||||||
|
|
||||||
var saveAs = require('file-saver').saveAs;
|
var saveAs = require('file-saver').saveAs;
|
||||||
var List = require('list.js');
|
var List = require('list.js');
|
||||||
|
var S = require('string');
|
||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
valueNames: ['id', 'text', 'timestamp', 'fromNow', 'time', 'tags', 'pinned'],
|
valueNames: ['id', 'text', 'timestamp', 'fromNow', 'time', 'tags', 'pinned'],
|
||||||
|
@ -390,7 +391,7 @@ function buildTagsFilter(tags) {
|
||||||
for (var i = 0; i < tags.length; i++)
|
for (var i = 0; i < tags.length; i++)
|
||||||
tags[i] = {
|
tags[i] = {
|
||||||
id: i,
|
id: i,
|
||||||
text: tags[i]
|
text: S(tags[i]).unescapeHTML().s
|
||||||
};
|
};
|
||||||
filtertags = tags;
|
filtertags = tags;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue