hook callAll to aCallAll

This commit is contained in:
ilmar 2018-05-02 11:45:48 +03:00
parent 55ecf31786
commit 6684f9bfe8

View file

@ -360,7 +360,7 @@ function getHTMLFromAtext(pad, atext, authorColors)
{ {
nextLine = _analyzeLine(textLines[i + 1], attribLines[i + 1], apool); nextLine = _analyzeLine(textLines[i + 1], attribLines[i + 1], apool);
} }
hooks.callAll('getLineHTMLForExport', context); hooks.aCallAll('getLineHTMLForExport', context);
//To create list parent elements //To create list parent elements
if ((!prevLine || prevLine.listLevel !== line.listLevel) || (prevLine && line.listTypeName !== prevLine.listTypeName)) if ((!prevLine || prevLine.listLevel !== line.listLevel) || (prevLine && line.listTypeName !== prevLine.listTypeName))
{ {
@ -445,7 +445,7 @@ function getHTMLFromAtext(pad, atext, authorColors)
padId: pad.id padId: pad.id
}; };
hooks.callAll("getLineHTMLForExport", context); hooks.aCallAll("getLineHTMLForExport", context);
pieces.push(context.lineContent, "<br>"); pieces.push(context.lineContent, "<br>");
} }
} }