Test-Source: Porovnání verzí
Z Milan Kerslager
(En text) |
(Variants) |
||
Řá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 == |
<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> | ||
Verze z 18. 9. 2008, 00:15
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.
Obsah
BUG (with Firefox): There should be a box with colored source
#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"); }