Contribution from Ben Bucksch <mozilla@bucksch.org> to eliminate URL: in url strings. r=akkana
git-svn-id: svn://10.0.0.236/trunk@56441 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c5ff7d0ca4
commit
38b74051f5
@ -600,13 +600,13 @@ nsHTMLToTXTSinkStream::OpenContainer(const nsIParserNode& aNode)
|
||||
{
|
||||
temp += " (";
|
||||
temp += desc;
|
||||
temp += " <URL:";
|
||||
temp += " <";
|
||||
temp += url;
|
||||
temp += ">) ";
|
||||
}
|
||||
else
|
||||
{
|
||||
temp += " <URL:";
|
||||
temp += " <";
|
||||
temp += url;
|
||||
temp += "> ";
|
||||
}
|
||||
@ -714,7 +714,7 @@ nsHTMLToTXTSinkStream::CloseContainer(const nsIParserNode& aNode)
|
||||
{ // these brackets must stay here
|
||||
if (!mURL.IsEmpty())
|
||||
{
|
||||
nsAutoString temp(" <URL:");
|
||||
nsAutoString temp(" <");
|
||||
temp += mURL;
|
||||
temp += ">";
|
||||
Write(temp);
|
||||
|
||||
@ -600,13 +600,13 @@ nsHTMLToTXTSinkStream::OpenContainer(const nsIParserNode& aNode)
|
||||
{
|
||||
temp += " (";
|
||||
temp += desc;
|
||||
temp += " <URL:";
|
||||
temp += " <";
|
||||
temp += url;
|
||||
temp += ">) ";
|
||||
}
|
||||
else
|
||||
{
|
||||
temp += " <URL:";
|
||||
temp += " <";
|
||||
temp += url;
|
||||
temp += "> ";
|
||||
}
|
||||
@ -714,7 +714,7 @@ nsHTMLToTXTSinkStream::CloseContainer(const nsIParserNode& aNode)
|
||||
{ // these brackets must stay here
|
||||
if (!mURL.IsEmpty())
|
||||
{
|
||||
nsAutoString temp(" <URL:");
|
||||
nsAutoString temp(" <");
|
||||
temp += mURL;
|
||||
temp += ">";
|
||||
Write(temp);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user