зеркало из https://github.com/mozilla/pjs.git
Ongoing work on content serializers. This is not part of the build.
This commit is contained in:
Родитель
33ab9af7ac
Коммит
fa56f73b33
|
@ -103,6 +103,9 @@ nsHTMLContentSerializer::Init(PRUint32 aFlags, PRUint32 aWrapColumn)
|
|||
if (!aWrapColumn) {
|
||||
mMaxColumn = 72;
|
||||
}
|
||||
else {
|
||||
mMaxColumn = aWrapColumn;
|
||||
}
|
||||
|
||||
mDoFormat = (mFlags & nsIDocumentEncoder::OutputFormatted) ? PR_TRUE
|
||||
: PR_FALSE;
|
||||
|
|
|
@ -251,7 +251,7 @@ nsXMLContentSerializer::AppendDoctype(nsIDOMDocumentType *aDoctype,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
static const char* kXMLNS = "xmlns";
|
||||
#define kXMLNS "xmlns"
|
||||
|
||||
nsresult
|
||||
nsXMLContentSerializer::PushNameSpaceDecl(const nsAReadableString& aPrefix,
|
||||
|
|
|
@ -103,6 +103,9 @@ nsHTMLContentSerializer::Init(PRUint32 aFlags, PRUint32 aWrapColumn)
|
|||
if (!aWrapColumn) {
|
||||
mMaxColumn = 72;
|
||||
}
|
||||
else {
|
||||
mMaxColumn = aWrapColumn;
|
||||
}
|
||||
|
||||
mDoFormat = (mFlags & nsIDocumentEncoder::OutputFormatted) ? PR_TRUE
|
||||
: PR_FALSE;
|
||||
|
|
|
@ -251,7 +251,7 @@ nsXMLContentSerializer::AppendDoctype(nsIDOMDocumentType *aDoctype,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
static const char* kXMLNS = "xmlns";
|
||||
#define kXMLNS "xmlns"
|
||||
|
||||
nsresult
|
||||
nsXMLContentSerializer::PushNameSpaceDecl(const nsAReadableString& aPrefix,
|
||||
|
|
Загрузка…
Ссылка в новой задаче