mirror of
				https://github.com/HackTricks-wiki/hacktricks.git
				synced 2025-10-10 18:36:50 +00:00 
			
		
		
		
	update preprocessor
This commit is contained in:
		
							parent
							
								
									edf82d9daa
								
							
						
					
					
						commit
						5ea057ea11
					
				| @ -78,6 +78,9 @@ def ref(matchobj): | ||||
|                 sys.exit(1) | ||||
| 
 | ||||
| 
 | ||||
|     if href.endswith("/README.md"): | ||||
|         href = href.replace("/README.md", "/index.html") | ||||
| 
 | ||||
|     template = f"""<a class="content_ref" href="{href}"><span class="content_ref_label">{title}</span></a>""" | ||||
| 
 | ||||
|     # translate_table = str.maketrans({"\"":"\\\"","\n":"\\n"}) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user