Hi.
I have a small "issue" with the HTML that the code tags produce.
I browse on a text browser during the day, and it represents code like this:
(i.e. one parsed token per line).
I replaced the DIV tags around the code tokens with SPAN tags, and the output is correct, both in local graphical browsers, and the terminal-based browser I use to surf PocketMatrix (don't ask why I have to use a terminal, it's a long story
).
So, I was wondering if the code plug-in could be modified to use SPAN tags rather than DIV tags for the code? If my reading of the HTML spec. is correct, then logically the code tokens should be in SPANs anyway, not DIVs.
(from elsewhere on the Internet:
Thanks guys.
I have a small "issue" with the HTML that the code tags produce.
I browse on a text browser during the day, and it represents code like this:
12 0
13 ;
14
15
16 if
17 (
18 +
19 +
20 framecount
21 >
22 frameskip
23 )
24
25 {
26
27 if
28
29 (
30 !
31 NoRender
32 )
33
{
if
(
!
(i.e. one parsed token per line).
I replaced the DIV tags around the code tokens with SPAN tags, and the output is correct, both in local graphical browsers, and the terminal-based browser I use to surf PocketMatrix (don't ask why I have to use a terminal, it's a long story
So, I was wondering if the code plug-in could be modified to use SPAN tags rather than DIV tags for the code? If my reading of the HTML spec. is correct, then logically the code tokens should be in SPANs anyway, not DIVs.
(from elsewhere on the Internet:
)
The <div> tag acts as a paragraph break, because it is defining a logical division in the document.
Thanks guys.
