When both the ExplicitNumberPlugin (rev 1.6) and the EditChapterPlugin (rev 1.2) are installed, the css for the EditChapterPlugin in
./pub/TWiki/EditChapterPlugin/ecpstyles.css
has:
.ecpHeading {
display:block;
}
which splits the header line so it looks like:
1.
A header line
rather than
1. A header line
Changing the css to:
.ecpHeading {
display:inline;
}
fixes the problem of the split heading. I have to admit that I am not sure why it is set to a block display anyway. The only place it should show up in inside <H[1-6]> headers that are already in block display format IIRC. Note that inline is already used for:
.twikiToc .ecpHeading {
display:inline;
}
If changing it to inline display everywhere is deemed incorrect, the following css will restrict the inline mode only to .ecpHeading class is a direct child of one of the H1 ... H6 headers:
H1 > .ecpHeading, H2 > .ecpHeading, H3 > .ecpHeading,
H4 > .ecpHeading, H5 > .ecpHeading, H6 > .ecpHeading {
display:inline
}
which also solves the issue.
Note that the failure is evident in the
TWiki/ExplicitNumberingPlugin
documentation page as well as when used in a topic normally.
--
TWiki:Main/JohnRouillard
- 2011-07-04