Skip to content

Commit 221fe18

Browse files
committed
[bug] fix search string display special character support
1 parent 50b187a commit 221fe18

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nighttab",
3-
"version": "4.1.1",
3+
"version": "4.1.2",
44
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
55
"main": "index.js",
66
"scripts":{

‎src/js/link.js‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,14 @@ var link = (function(){
11911191
varlinkEmpty=helper.node("div|class:link-empty link-item");
11921192
varparaWrap1=helper.node("div|class:p-wrap");
11931193
varparaWrap2=helper.node("div|class:p-wrap");
1194-
varpara1=helper.node("p:No bookmarks matching \""+helper.e(".header-search-input").value+"\" found.|class:mb-0");
1194+
varpara1=helper.makeNode({
1195+
tag: "p",
1196+
text: "No bookmarks matching \""+helper.e(".header-search-input").value+"\" found",
1197+
attr: [{
1198+
key: "class",
1199+
value: "mb-0"
1200+
}]
1201+
});
11951202
varpara2=helper.node("p:\"Enter\" to Search "+state.get.current().header.search.engine[state.get.current().header.search.engine.selected].name+".|class:small muted mb-0");
11961203
paraWrap1.appendChild(para1);
11971204
paraWrap2.appendChild(para2);

‎src/js/version.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
varversion=(function(){
22

3-
varcurrent="4.1.1";
3+
varcurrent="4.1.2";
44

55
varname="Enchanting Aardvark";
66

‎src/manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nightTab",
33
"short_name": "nightTab",
44
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
5-
"version": "4.1.1",
5+
"version": "4.1.2",
66
"manifest_version": 2,
77
"chrome_url_overrides":{
88
"newtab": "index.html"

0 commit comments

Comments
(0)