mirror of
				https://github.com/JuanCanham/HackMyResume.git
				synced 2025-10-31 13:17:26 +00:00 
			
		
		
		
	fix: correctly replace frozen fields in JRS-themed resumes
This commit is contained in:
		| @@ -37,8 +37,8 @@ JRSGenerator = module.exports = | ||||
|     turnoff.forEach (c, idx) -> console[c] = org[idx] | ||||
|  | ||||
|     # Unfreeze and apply Markdown | ||||
|     rezHtml = rezHtml.replace /@@@@~.*?~@@@@/gm, (val) -> | ||||
|       MDIN( val.replace( /~@@@@/gm,'' ).replace( /@@@@~/gm,'' ) ) | ||||
|     rezHtml = rezHtml.replace /@@@@~[\s\S]*?~@@@@/g, (val) -> | ||||
|       MDIN( val.replace( /~@@@@/g,'' ).replace( /@@@@~/g,'' ) ) | ||||
|  | ||||
|  | ||||
| MDIN = (txt) -> # TODO: Move this | ||||
|   | ||||
		Reference in New Issue
	
	Block a user