projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c21a43
)
Fixed getting tag value (add percentages decoding)
author
Daniel Kos <daniel.kos@contractors.roche.com>
Mon, 22 Oct 2018 20:50:35 +0000
(22:50 +0200)
committer
Daniel Kos <daniel.kos@contractors.roche.com>
Mon, 22 Oct 2018 20:50:54 +0000
(22:50 +0200)
Bug #14353
Arvados-DCO-1.1-Signed-off-by: Daniel Kos <daniel.kos@contractors.roche.com>
src/common/xml.ts
patch
|
blob
|
history
diff --git
a/src/common/xml.ts
b/src/common/xml.ts
index c810de957055d47aa5a8cab9576e24d5b1046b66..098f27818a85c6406445f08770231909ea400c62 100644
(file)
--- a/
src/common/xml.ts
+++ b/
src/common/xml.ts
@@
-4,5
+4,5
@@
export const getTagValue = (document: Document | Element, tagName: string, defaultValue: string) => {
const [el] = Array.from(document.getElementsByTagName(tagName));
- return
el ? el.innerHTML : defaultValue
;
+ return
decodeURI(el ? el.innerHTML : defaultValue)
;
};