changed to preprocessor for code generation for tag & entity tables
cleanup tag and entity lookup apis git-svn-id: svn://10.0.0.236/trunk@39926 18797224-902f-48f8-a5cc-f745e15eee43
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