1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-04 05:17:08 +01:00

Tweak Markdownification.

This commit is contained in:
devlinjd
2015-12-09 04:32:39 -05:00
parent 857de65750
commit 3dcf3c3974
2 changed files with 8 additions and 3 deletions

View File

@ -23,7 +23,7 @@ Underscore template generate for FluentCV.
// Compile and run the template. TODO: avoid unnecessary recompiles.
var compiled = _.template(jst);
var ret = compiled({
r: json.markdownify(),
r: format === 'html' || format === 'pdf' ? json.markdownify() : json,
filt: opts.filters,
XML: require('xml-escape'),
RAW: json,