mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-05-09 23:37:09 +01: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