From: Andreas K. <and...@ac...> - 2013-05-23 17:31:36
|
On Wed, May 22, 2013 at 12:00 PM, Andreas Kupries <and...@ac...> wrote: > On Wed, May 22, 2013 at 5:37 AM, Jan Nijtmans <jan...@gm...> wrote: >> 2013/5/22 Jan Nijtmans: >> It looks like all backslashes need to be doubled, otherwise every >> occurence of \t will become a tab and from unknown backslash >> sequences the backslash will be removed. > > Going through the ticket history > http://core.tcl.tk/tk-tickets/tkthistory/2912799 > I find that the relevant stored artifact is > http://core.tcl.tk/tk-tickets/artifact/affafe1327c5632430b261b4427ac1a36e732a1e > This artifact contains all the backslashes, albeit single. > However the fossil file format description at > http://www.fossil-scm.org/index.html/doc/trunk/www/fileformat.wiki#manifest > tells: > The following escape sequences are applied to the text: > A space (ASCII 0x20) is represented as "\s" (ASCII 0x5C, 0x73). > A newline (ASCII 0x0a) is "\n" (ASCII 0x5C, x6E). > A backslash (ASCII 0x5C) is represented as two backslashes "\\" > > The converter is apparently not doing the last mapping of this list. > That is a bug, and I will fix it, then regen the tk-tickets repo. > I will look into the double HTML entity subst reported by Lars at the same time. > > (Some time this evening). Done. I made the change to the encoding, and also changes de-htmlize SF's bogus htmlization Lars pointed out. I updated the tk-ticket repository using yesterday evening's 21:33 (PDT (GMT-0700)) snapshot. -- Andreas Kupries Senior Tcl Developer Code to Cloud: Smarter, Safer, Faster™ F: 778.786.1133 and...@ac... http://www.activestate.com Learn about Stackato for Private PaaS: http://www.activestate.com/stackato Tcl'2013, Sep 23-27, New Orleans, LA, USA @ http://www.tcl.tk/community/tcl2013/ EuroTcl'2013, July 6-7, Munich, GER |