changed clone url to not be hyperlink
This commit is contained in:
		
							parent
							
								
									6fe2126d61
								
							
						
					
					
						commit
						a32ca23741
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		
							
								
								
									
										6
									
								
								stagit.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								stagit.c
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -478,11 +478,9 @@ writeheader(FILE *fp, const char *title)
 | 
			
		|||
	xmlencode(fp, description, strlen(description));
 | 
			
		||||
	fputs("</span></td></tr>", fp);
 | 
			
		||||
	if (cloneurl[0]) {
 | 
			
		||||
		fputs("<tr class=\"url\"><td></td><td>git clone <a href=\"", fp);
 | 
			
		||||
		fputs("<tr class=\"url\"><td></td><td>git clone <p class=\"cloneurl\">", fp);
 | 
			
		||||
		xmlencode(fp, cloneurl, strlen(cloneurl));
 | 
			
		||||
		fputs("\">", fp);
 | 
			
		||||
		xmlencode(fp, cloneurl, strlen(cloneurl));
 | 
			
		||||
		fputs("</a></td></tr>", fp);
 | 
			
		||||
		fputs("</p></td></tr>", fp);
 | 
			
		||||
	}
 | 
			
		||||
	fputs("<tr><td></td><td>\n", fp);
 | 
			
		||||
	fprintf(fp, "<a href=\"%slog.html\">Log</a> | ", relpath);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue