[freenet-dev] [freenet-cvs] r13555 - trunk/freenet/src/freenet/clients/http

Florent Daignière nextgens at freenetproject.org
Thu Jun 14 15:32:43 UTC 2007


* Matthew Toseland <toad at amphibian.dyndns.org> [2007-06-14 16:08:56]:

> I wonder why... We don't use \r\n internally.

Well, that's not the issue here ... it's HTML code anyway... and the
point was to add an empty newline before the end of the </pre> tag.

> 
> On Wednesday 13 June 2007 10:54, nextgens at freenetproject.org wrote:
> > Author: nextgens
> > Date: 2007-06-13 09:54:37 +0000 (Wed, 13 Jun 2007)
> > New Revision: 13555
> >
> > Modified:
> >    trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java
> > Log:
> > Add \r\n at the end of node reference on the darknet toadlet ... Actinoid
> > said that it would be easier to c/p
> >
> > Modified:
> > trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java
> > =================================================================== ---
> > trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java	2007-
> >06-13 01:15:53 UTC (rev 13554) +++
> > trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java	2007-
> >06-13 09:54:37 UTC (rev 13555) @@ -561,7 +561,7 @@
> >  		L10n.addL10nSubstitution(warningSentence,
> > "DarknetConnectionsToadlet.referenceCopyWarning", new String[] { "bold",
> > "/bold" },
> >  				new String[] { "<b>", "</b>" });
> > -		referenceInfobox.addChild("div", "class",
> > "infobox-content").addChild("pre", "id", "reference",
> > node.exportPublicFieldSet().toString());
> > +		referenceInfobox.addChild("div", "class",
> > "infobox-content").addChild("pre", "id", "reference",
> > node.exportPublicFieldSet().toString() + "\r\n");
> >
> >  		// our ports
> >  		HTMLNode portInfobox = contentNode.addChild("div", "class", "infobox
> > infobox-normal");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20070614/ddc3c58f/attachment.pgp 


More information about the Devl mailing list