dont use HTML filter hooks on txt export

This commit is contained in:
John McLear 2013-02-10 19:38:16 +00:00
parent 626ee97669
commit bcf9c23b4e
1 changed files with 0 additions and 18 deletions

View File

@ -290,24 +290,6 @@ function getTXTFromAtext(pad, atext, authorColors)
}else{
pieces.push(lineContent, '\n');
}
// I'm not too keen about using teh HTML export filters here, they could cause real pain in the future
// I'd suggest supporting getLineTXTForExport
var lineContentFromHook = hooks.callAllStr("getLineHTMLForExport",
{
line: line,
apool: apool,
attribLine: attribLines[i],
text: textLines[i]
}, " ", " ", "");
if (lineContentFromHook)
{
pieces.push(lineContentFromHook, '');
}
else
{
// pieces.push(lineContent, '\n');
}
}
return pieces.join('');