mirror of
				https://github.com/ohwgiles/laminar.git
				synced 2025-06-13 12:54:29 +00:00 
			
		
		
		
	fe: do not html entity encode angle braces
in log output, ansi_up does it already. resolves #148
This commit is contained in:
		
							parent
							
								
									c42b6d4207
								
							
						
					
					
						commit
						9b8c3762ec
					
				| @ -582,9 +582,7 @@ const Run = templateId => { | ||||
|           if (done) | ||||
|             return; | ||||
|           state.log += ansi_up.ansi_to_html( | ||||
|             value.replace(/</g,'<') | ||||
|                  .replace(/>/g,'>') | ||||
|                  .replace(/\033\[\{([^:]+):(\d+)\033\\/g, (m, $1, $2) => | ||||
|             value.replace(/\033\[\{([^:]+):(\d+)\033\\/g, (m, $1, $2) => | ||||
|                    '<a href="jobs/'+$1+'" onclick="return vroute(this);">'+$1+'</a>:'+ | ||||
|                    '<a href="jobs/'+$1+'/'+$2+'" onclick="return vroute(this);">#'+$2+'</a>' | ||||
|                  ) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user