Update src/node/utils/ExportHtml.js

Added a hook for utils/ExportHtml.js
This commit is contained in:
gedion 2012-08-11 13:08:28 -05:00
parent df7d7769c8
commit 4d11e49878
1 changed files with 14 additions and 14 deletions

View File

@ -402,20 +402,20 @@ function getHTMLFromAtext(pad, atext)
} }
lists.length--; lists.length--;
} }
var newLineContent = hooks.callAllStr("getLineHTMLForExport", var lineContentFromHook = hooks.callAllStr("getLineHTMLForExport",
{ {
line: line, line: line,
apool: apool, apool: apool,
attribLine: attribLines[i], attribLine: attribLines[i],
text: textLines[i] text: textLines[i]
}, " ", " ", ""); }, " ", " ", "");
if (newLineContent) if (lineContentFromHook)
{ {
pieces.push(newLineContent, ''); pieces.push(lineContentFromHook, '');
} else } else
{ {
pieces.push(lineContent, '<br>'); pieces.push(lineContent, '<br>');
} }
} }
} }