Skip to content

Commit

Permalink
Remove uri decoding in x_makeAbsolute as it breaks some LO's
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Mar 16, 2015
1 parent c52baaa commit 8c8788d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ x_projectDataLoaded = function(xmlData) {

// Make absolute urls from urls with FileLocation + ' in their strings
x_makeAbsolute = function(html){
var tempDecoded = decodeURIComponent(html);
//var tempDecoded = decodeURIComponent(html);
// var tempDecoded = $('<textarea/>').html(tempURIDecoded).text();
var temp = tempDecoded.replace(/FileLocation \+ \'([^\']*)\'/g, FileLocation + '$1');
var temp = html.replace(/FileLocation \+ \'([^\']*)\'/g, FileLocation + '$1');

return temp;
}
Expand Down

0 comments on commit 8c8788d

Please sign in to comment.