pull/3268/head
parent
69bf32cd46
commit
c36a3264fe
|
@ -455,8 +455,10 @@ function getHTMLFromAtext(pad, atext, authorColors)
|
||||||
|
|
||||||
if (lineContentFromHook)
|
if (lineContentFromHook)
|
||||||
{
|
{
|
||||||
if (context.lineContent === lineContent && lineContentFromHook !== true) {
|
var lcToTestTrue = lineContentFromHook;
|
||||||
pieces.push(lineContentFromHook, ''); // Just to be compatible with plugins that are not updated to this solution
|
lcToTestTrue = lcToTestTrue.replace(/true/g, '').replace(/ /g, '');
|
||||||
|
if (context.lineContent === lineContent && lcToTestTrue.length) { // Just to be compatible with plugins that are not updated to this solution
|
||||||
|
pieces.push(lineContentFromHook, '');
|
||||||
} else {
|
} else {
|
||||||
pieces.push(context.lineContent, ''); // should be used instead of lineContentFromHook because context is passed through each hook with all it's updated from each plugin
|
pieces.push(context.lineContent, ''); // should be used instead of lineContentFromHook because context is passed through each hook with all it's updated from each plugin
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue