mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-05-02 20:37:08 +01:00
fix: correctly replace frozen fields in JRS-themed resumes
This commit is contained in:
4
dist/renderers/jrs-generator.js
vendored
4
dist/renderers/jrs-generator.js
vendored
@ -46,8 +46,8 @@ Definition of the JRSGenerator class.
|
||||
turnoff.forEach(function(c, idx) {
|
||||
return console[c] = org[idx];
|
||||
});
|
||||
return rezHtml = rezHtml.replace(/@@@@~.*?~@@@@/gm, function(val) {
|
||||
return MDIN(val.replace(/~@@@@/gm, '').replace(/@@@@~/gm, ''));
|
||||
return rezHtml = rezHtml.replace(/@@@@~[\s\S]*?~@@@@/g, function(val) {
|
||||
return MDIN(val.replace(/~@@@@/g, '').replace(/@@@@~/g, ''));
|
||||
});
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user