forked from cory/tildefriends
		
	ssb: Fix some message link encoding.
This commit is contained in:
		| @@ -408,7 +408,7 @@ ${JSON.stringify(mention, null, 2)}</pre | ||||
| 				> | ||||
| 					<tf-user id=${self.message.author} .users=${self.users}></tf-user> | ||||
| 					<span style="padding-right: 8px" | ||||
| 						><a tfarget="_top" href=${'#' + self.message.id}>%</a> ${new Date( | ||||
| 						><a tfarget="_top" href=${'#' + encodeURIComponent(self.message.id)}>%</a> ${new Date( | ||||
| 							self.message.timestamp | ||||
| 						).toLocaleString()}</span | ||||
| 					> | ||||
| @@ -449,7 +449,7 @@ ${JSON.stringify(mention, null, 2)}</pre | ||||
| 				class="w3-card-4 w3-theme-d4 w3-border-theme" | ||||
| 				style="margin-top: 8px; padding: 16px; overflow-wrap: anywhere" | ||||
| 			> | ||||
| 				<a target="_top" href=${'#' + this.message.id}>${this.message.id}</a> | ||||
| 				<a target="_top" href=${'#' + encodeURIComponent(this.message.id)}>${this.message.id}</a> | ||||
| 				(placeholder) | ||||
| 				<div>${this.render_votes()}</div> | ||||
| 				${(this.message.child_messages || []).map( | ||||
| @@ -600,7 +600,7 @@ ${JSON.stringify(content, null, 2)}</pre | ||||
| 							${is_encrypted} | ||||
| 							<span style="flex: 1"></span> | ||||
| 							<span style="padding-right: 8px" | ||||
| 								><a target="_top" href=${'#' + self.message.id}>%</a> | ||||
| 								><a target="_top" href=${'#' + encodeURIComponent(self.message.id)}>%</a> | ||||
| 								${new Date(this.message.timestamp).toLocaleString()}</span | ||||
| 							> | ||||
| 							<span>${raw_button}</span> | ||||
| @@ -643,7 +643,7 @@ ${JSON.stringify(content, null, 2)}</pre | ||||
| 							${is_encrypted} | ||||
| 							<span style="flex: 1"></span> | ||||
| 							<span style="padding-right: 8px" | ||||
| 								><a target="_top" href=${'#' + self.message.id}>%</a> | ||||
| 								><a target="_top" href=${'#' + encodeURIComponent(self.message.id)}>%</a> | ||||
| 								${new Date(this.message.timestamp).toLocaleString()}</span | ||||
| 							> | ||||
| 							<span>${raw_button}</span> | ||||
| @@ -733,7 +733,7 @@ ${JSON.stringify(content, null, 2)}</pre | ||||
| 							<tf-user id=${this.message.author} .users=${this.users}></tf-user> | ||||
| 							<span style="flex: 1"></span> | ||||
| 							<span style="padding-right: 8px" | ||||
| 								><a target="_top" href=${'#' + self.message.id}>%</a> | ||||
| 								><a target="_top" href=${'#' + encodeURIComponent(self.message.id)}>%</a> | ||||
| 								${new Date(this.message.timestamp).toLocaleString()}</span | ||||
| 							> | ||||
| 							<span>${raw_button}</span> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user