Test-Source: Porovnání verzí

Z Milan Kerslager
Přejít na: navigace, hledání
(En text)
m (Stránka Test přemístěna na stránku Test-Source)
 
(Nejsou zobrazeny 2 mezilehlé verze od stejného uživatele.)
Řádka 1: Řádka 1:
 
Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text.
 
Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text.
  
== There should be a box with colored source ==
+
== BUG (with Firefox): There should be a box with colored source ==
 +
 
 +
=== With no enclose parameter ===
 
<source lang="C">
 
<source lang="C">
 +
#include <stdio.h>
 +
 +
int main()
 +
{
 +
  printf("Hello world!\n");
 +
}
 +
</source>
 +
 +
=== Trying with enclose=div ===
 +
<source lang="C" enclose=div>
 +
#include <stdio.h>
 +
 +
int main()
 +
{
 +
  printf("Hello world!\n");
 +
}
 +
</source>
 +
 +
=== Trying with enclose=pre ===
 +
<source lang="C" enclose=pre>
 
#include <stdio.h>
 
#include <stdio.h>
  

Aktuální verze z 13. 1. 2010, 05:23

Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text. Normal text.

BUG (with Firefox): There should be a box with colored source

With no enclose parameter

#include <stdio.h>

int main()
{
  printf("Hello world!\n");
}

Trying with enclose=div

#include <stdio.h>

int main()
{
  printf("Hello world!\n");
}

Trying with enclose=pre

#include <stdio.h>

int main()
{
  printf("Hello world!\n");
}

And there should be normal pre-formatted source

#include <stdio.h>

int main()
{
  printf("Hello world!\n");
}