mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 10:31:06 +03:00 
			
		
		
		
	Page search find .NET Google+ etc
closes #902 Allow search to find `.NET`, `Google+` etc.
This commit is contained in:
		
							parent
							
								
									1ce7d3a563
								
							
						
					
					
						commit
						3a4fcb01a5
					
				| @ -177,7 +177,12 @@ | ||||
|     </script> | ||||
|     <script> | ||||
|       function normalizeSearchTerm(value) { | ||||
|           return value.toLowerCase().replace(/ /g, ''); | ||||
|           return value.toLowerCase() | ||||
|               .replace(/\+/g, "plus") | ||||
|               .replace(/^\./, "dot-") | ||||
|               .replace(/\.$/, "-dot") | ||||
|               .replace(/\./g, "-dot-") | ||||
|               .replace(/[ !’]/g, ''); | ||||
|       } | ||||
|       var icons = [{{ allIconNames }}].map(normalizeSearchTerm); | ||||
|     </script> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user