mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:30:27 +00:00
backout bug 1134280 for fixing yandex search "Read more" link
This commit is contained in:
@@ -193,7 +193,7 @@ nsHTMLContentSerializer::AppendElementStart(Element* aElement,
|
||||
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
nsIAtom *name = content->NodeInfo()->NameAtom();
|
||||
nsIAtom *name = content->Tag();
|
||||
int32_t ns = content->GetNameSpaceID();
|
||||
|
||||
bool lineBreakBeforeOpen = LineBreakBeforeOpen(ns, name);
|
||||
@@ -306,7 +306,7 @@ nsHTMLContentSerializer::AppendElementEnd(Element* aElement,
|
||||
|
||||
nsIContent* content = aElement;
|
||||
|
||||
nsIAtom *name = content->NodeInfo()->NameAtom();
|
||||
nsIAtom *name = content->Tag();
|
||||
int32_t ns = content->GetNameSpaceID();
|
||||
|
||||
if (ns == kNameSpaceID_XHTML &&
|
||||
|
||||
Reference in New Issue
Block a user