mirror of https://github.com/vector-im/riot-web
				
				
				
			Fix broken riot.im link on homepage
For want of a quote the something something Also add noopenerspull/4282/head
							parent
							
								
									a3240b934f
								
							
						
					
					
						commit
						bbb9dd9228
					
				|  | @ -46,8 +46,8 @@ module.exports = React.createClass({ | |||
|     translate: function(s) { | ||||
|         s = sanitizeHtml(_t(s)); | ||||
|         // ugly fix for https://github.com/vector-im/riot-web/issues/4243
 | ||||
|         s = s.replace(/Riot\.im/, '<a href="https://riot.im target="_blank">Riot.im</a>'); | ||||
|         s = s.replace(/\[matrix\]/, '<a href="https://matrix.org" target="_blank"><img width="79" height="34" alt="[matrix]" style="padding-left: 1px;vertical-align: middle" src="home/images/matrix.svg"/></a>'); | ||||
|         s = s.replace(/Riot\.im/, '<a href="https://riot.im" target="_blank" rel="noopener">Riot.im</a>'); | ||||
|         s = s.replace(/\[matrix\]/, '<a href="https://matrix.org" target="_blank" rel="noopener"><img width="79" height="34" alt="[matrix]" style="padding-left: 1px;vertical-align: middle" src="home/images/matrix.svg"/></a>'); | ||||
|         return s; | ||||
|     }, | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 David Baker
						David Baker