|
Posted by Rik Wasmus on 01/13/08 02:23
On Sun, 13 Jan 2008 03:18:36 +0100, thib´ <thyb0@coralsnake-team.com>
wrote:
> Taking a closer look to highlight_file() lastly, I found out that its
> line break policy was a bit.. strange.
> Here, the line break is obviously a LF (Line Feed, or \n).
> Here, it's a CR (Carriage Return, or \r).
> Firefox seems to render the source correctly (in its source window), and
> of course, as it's XHTML formatted with <br /> tags for line breaks, the
> final render is fine. I know it's intended to be displayed in a browser
> and thus there's no real problem with it, but I was just wondering
> (like, for 'educational' purpose ^^').. is that really a mess of things
> or is there an actual reason for this?
Hmm, it would be very strange indeed, however, I don't think the function
has ever been regarded as very important by ayone :P. Just out of
curiousity: have you compared this to existing linebreaks in the document
highlighted itself?
--
Rik Wasmus
Navigation:
[Reply to this message]
|