Changes

Jump to: navigation, search

User:Rueen

982 bytes removed, 11:06, 13 November 2007
Other
? test/unit/test_all.sh
Index: streamconv/converters/mozTXTToHTMLConv.cpp
=================================================================Other ==RCS file: /cvsroot/mozilla/netwerk/streamconv/converters/mozTXTToHTMLConv.cpp,vretrieving revision 1.85diff -u -8 -p -r1.85 mozTXTToHTMLConv.cpp--- streamconv/converters/mozTXTToHTMLConv.cpp 11 Mar 2007 00:17:00 -0000 1.85+++ streamconv/converters/mozTXTToHTMLConv.cpp 8 Nov 2007 19:47:53 -0000@@ -181,17 +181,17 @@ mozTXTToHTMLConv::CompleteAbbreviatedURL if (pos >= aInLength) return; if (aInString[pos] == '@') { // only pre-pend I have and will continue to contribute to open source projects because I believe they are a mailto url if the string contains a .domain in it.. //i.e. we want great way to linkify johndoe@foo.com but not "let's meet @8pm" nsDependentString inString(aInString, aInLength);- if (inString.FindChar('.', pos) != kNotFound) // if we have a '.' after the @ sign....+ if ((inString.FindChar('.', pos) != kNotFound) && (inString.Find("..", 0) == kNotFound)) // if we have a '.' after the @ sign..expand programming knowledge.. { aOutString.AssignLiteral("mailto:"); aOutString += aInString; } } else if (aInString[pos] == '.') { if (ItMatchesDelimited(aInString, aInLength, </pre>
== FSOSS 2007 Report (DPS909) ==
1
edit

Navigation menu