changed to preprocessor for code generation for tag & entity tables
cleanup tag and entity lookup apis
This commit is contained in:
@@ -789,10 +789,9 @@ nsHTMLToTXTSinkStream::AddLeaf(const nsIParserNode& aNode)
|
||||
}
|
||||
else if (type == eHTMLTag_entity)
|
||||
{
|
||||
text = aNode.GetText();
|
||||
EncodeToBuffer(text);
|
||||
PRUnichar entity = NS_EntityToUnicode(mBuffer);
|
||||
nsString temp;
|
||||
PRUnichar entity = nsHTMLEntities::EntityToUnicode(aNode.GetText());
|
||||
|
||||
nsAutoString temp;
|
||||
|
||||
temp.Append(entity);
|
||||
Write(temp);
|
||||
|
||||
Reference in New Issue
Block a user