Update src/node/utils/ExportHtml.js
Added a hook for utils/ExportHtml.jspull/943/head
parent
df7d7769c8
commit
4d11e49878
|
@ -402,16 +402,16 @@ function getHTMLFromAtext(pad, atext)
|
|||
}
|
||||
lists.length--;
|
||||
}
|
||||
var newLineContent = hooks.callAllStr("getLineHTMLForExport",
|
||||
var lineContentFromHook = hooks.callAllStr("getLineHTMLForExport",
|
||||
{
|
||||
line: line,
|
||||
apool: apool,
|
||||
attribLine: attribLines[i],
|
||||
text: textLines[i]
|
||||
}, " ", " ", "");
|
||||
if (newLineContent)
|
||||
if (lineContentFromHook)
|
||||
{
|
||||
pieces.push(newLineContent, '');
|
||||
pieces.push(lineContentFromHook, '');
|
||||
} else
|
||||
{
|
||||
pieces.push(lineContent, '<br>');
|
||||
|
|
Loading…
Reference in New Issue