allow padId to be passed into the hook

This commit is contained in:
John McLear 2014-12-08 19:11:45 +00:00
parent 2218cbd252
commit 7cf0e4a9ae

View file

@ -426,7 +426,7 @@ exports.getPadHTMLDocument = function (padId, revNum, noDocType, callback)
if(ERR(err, callback)) return;
// Include some Styles into the Head for Export
var stylesForExport = hooks.callAllStr("stylesForExport") || ''
var stylesForExport = hooks.callAllStr("stylesForExport", padId) || ''
var head =
(noDocType ? '' : '<!doctype html>\n') +