Revert prev commit, do not encodeURI on DataKey
This commit is contained in:
		@@ -7,7 +7,10 @@
 | 
				
			|||||||
Dockerfile
 | 
					Dockerfile
 | 
				
			||||||
k8s/
 | 
					k8s/
 | 
				
			||||||
cache/
 | 
					cache/
 | 
				
			||||||
windows/*
 | 
					image/
 | 
				
			||||||
 | 
					concourse/
 | 
				
			||||||
 | 
					k8s/
 | 
				
			||||||
 | 
					windows/
 | 
				
			||||||
__pycache__
 | 
					__pycache__
 | 
				
			||||||
cache/*
 | 
					cache/*
 | 
				
			||||||
logs/*
 | 
					logs/*
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -53,8 +53,8 @@
 | 
				
			|||||||
			{
 | 
								{
 | 
				
			||||||
				return [
 | 
									return [
 | 
				
			||||||
					new DataKey("id", data.id)
 | 
										new DataKey("id", data.id)
 | 
				
			||||||
					, new DataKey("title", decodeURI(data.name))
 | 
										, new DataKey("title", data.name)
 | 
				
			||||||
					, new DataKey("author", decodeURI(data.author))
 | 
										, new DataKey("author", data.author)
 | 
				
			||||||
					, new DataKey("hash", data.hash)
 | 
										, new DataKey("hash", data.hash)
 | 
				
			||||||
				];
 | 
									];
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -96,7 +96,7 @@
 | 
				
			|||||||
	IDOMElement.prototype.getDAttribute = function(name)
 | 
						IDOMElement.prototype.getDAttribute = function(name)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		var i = this.getAttribute("data-" + name);
 | 
							var i = this.getAttribute("data-" + name);
 | 
				
			||||||
		return i && decodeURIComponent(i);
 | 
							return i;
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	IDOMElement.prototype.foreach = function(type, callback)
 | 
						IDOMElement.prototype.foreach = function(type, callback)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
		IKey.call(
 | 
							IKey.call(
 | 
				
			||||||
			this
 | 
								this
 | 
				
			||||||
			, "data-" + name
 | 
								, "data-" + name
 | 
				
			||||||
			, value ? encodeURIComponent( String( value ) ) : ""
 | 
								, value ? String( value ) : ""
 | 
				
			||||||
		);
 | 
							);
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user