Update src/node/utils/ExportHtml.js
Added a hook for utils/ExportHtml.jspull/943/head
parent
df7d7769c8
commit
4d11e49878
|
@ -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>');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue