Fixing win32 bustage, hopefully.
git-svn-id: svn://10.0.0.236/trunk@119135 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a9b0ea2da1
commit
5556c3ba54
@ -387,8 +387,9 @@ NS_IMETHODIMP
|
||||
mozSanitizingHTMLSerializer::SetDocumentCharset(nsAString& aCharset)
|
||||
{
|
||||
// No idea, if this works - it isn't invoked by |TestOutput|.
|
||||
Write(NS_LITERAL_STRING("\n<meta http-equiv=\"Context-Type\" "
|
||||
"content=\"text/html; charset=")
|
||||
Write(NS_LITERAL_STRING("\n<meta http-equiv=\"Context-Type\" content=\"text/html; charset=")
|
||||
/* Danger: breaking the line within the string literal, like
|
||||
"foo"\n"bar", breaks win32! */
|
||||
+ aCharset + NS_LITERAL_STRING("\">\n"));
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user