projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
488f0fa
)
trim newlines from titles, MKWS-290
author
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 15 Oct 2014 12:47:15 +0000
(14:47 +0200)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 15 Oct 2014 12:47:15 +0000
(14:47 +0200)
I guess the newlines comes from the new template framework, otherwise
we would see this noisy log output earlier.
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
2f5b5ab
..
fe0e345
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-676,7
+676,7
@@
describe("Check SortBy options", function () {
var list = [];
var terms = $("div.mkwsRecords > div.mkwsSummary > a");
for (var i = 0; i < terms.length; i++) {
- var term = $(terms[i]).text();
+ var term = $(terms[i]).text().trim();
list.push(term);
// debug(prefix + "title: " + term);
}