Making this a new thread, since I can't remove "status-completed" from my previous thread.
The spoiler code seems to work for single-line spoilers, and single-paragraph (one long line, which gets word-wrapped) spoilers, such as these.
Single line:
Hey, I'm a spoiler!
Single paragraph:
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
However, the code breaks when you have two paragraphs which are separated by a blank line, as below:
! Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
! Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
The only way to get two such paragraphs to display correctly, seems to require some non-spoiler text in between them as below:
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Hi, no spoiler here!
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
I even tried using non-displayed, line-breaking code like the BR tag in between the paragraphs, to no avail.
I'm pretty sure the code should not require such separation between paragraphs. Is there something I'm doing wrong?
Other notes:
I'm running Windows XP SP3 with Firefox 3.6.12, but have had the same problem with Firefox on Ubuntu 10.10 and Windows 7, and Chrome 7.0.517.44 on XP SP 3.
The spoiler code does not work at all for me in IE 7.0.5730.13CO on XP SP3.
EDIT: GraceNote has suggested using the following code, where there are two spaces inserted at the end of "First paragraph" and on the blank line between:
>! First paragraph
>!
>! Second paragraph
Looks like this:
First paragraph
Second paragraph
This is a good workaround, but the issue still remains un-patched.