This is a test topic where TMCE eats new lines in some cases
See Bugs.Item4705
Edit it in TMCE and save.
Repeat the edit and save many times and see the topic become a Goofy topic.
Some test headline.
Below is what could be an example of C code
/* If Labeling enabled - locate center of largest labelgroup */
if (imgs->labelsize_max) {
/* Locate largest labelgroup */
for (y=0; y<height; y++) {
for (x=0; x<width; x++) {
if (*(labels++)&32768) {
cent->x += x;
cent->y += y;
centc++;
}
}
}
} else {
And now an example with text and table
These two options are defined like this
Option |
Function |
pre_capture |
include images before first motion detect |
post_capture |
append images after last motion detect |
and in the config code you find this
{
"pre_capture",
"# Specifies the number of pre-captured (buffered) pictures from before motion\n"
"# was detected that will be output at motion detection.\n"
"# Recommended range: 0 to 5 (default: 0)\n"
"# Do not use large values! Large values will cause Motion to skip video frames and\n"
"# cause unsmooth mpegs. To smooth mpegs use larger values of post_capture instead.",
CONF_OFFSET(pre_capture),
copy_int,
print_int
},
{
"post_capture",
"# Number of frames to capture after motion is no longer detected (default: 0)",
CONF_OFFSET(post_capture),
copy_int,
print_int
},
More code right after headline
char *mystrcpy(char *to, const char *from)
{
/* free the memory used by the to string, if such memory exists,
* and return a pointer to a freshly malloc()'d string with the
* same value as from.
*/
if (to != NULL)
free(to);
return mystrdup(from);
}
Some stuff protected by literal
This is a two row table |
This is second row |
- TML bullet
- Another TML bullet
- Why not a 3rd one
|
Same but with text before
The text below is yellow
- TML bullet
- Another TML bullet
- Why not a 3rd one
|
Plain text
Some text
Hej hej
Example that failed in Item4705
Tralala
Some text
Trala
Tralala
Some text
Trala
Tralala
Some text
Trala
Tralala lala
Some text
Trala
Literal after header
Some bold
Literal after table
Some bold
Literal after bullet
Some bold
--
KennethLavrsen - 24 Sep 2007