This is a report of a possible bug (suspected to be an interaction between "Render spoiler settings" = span and "html error reporting" = 3) seen in the rendering of The anomalous each()--Part II.

ww was using Firefox 1.04 on w2k. See CB quotes below in which ambrus ( galeon, linux-i686, gentoo usually. sometimes firefox on the same machine or firefox on debian linux-x86_64) confirms seeing same. (I was too late asking Tanktalus for broswer and OS info.)

Using VIEW | SOURCE, code (with two comments added by ww) appears as:

... <p>Can you see why? <span class='spoiler'> # /----------------- ww thinks problem is here ---------------\ <font color="#808080" class="htmlinserted">&lt;/span&gt;</font></span> +</p><p>Whilst I suspect that many people will jump on the use of each + in a scalar context as the source of the problem, the actual cause i +s using <tt class='inlinecode'>%h</tt> as an rvalue. </p><p>My (tentative) explanation is that not only is there only one i +terator per hash, but that iterator is also used internally when a li +st is generated from a hash. <font color="#808080" class="htmlignored">&lt;/span></font> # ww thinks the end span should be -----------^ # though this <font ... /font> seems effectively a NoOp ???

(Edited) CB coversation beginning at 005-11-19 13:02:19-05 included for its info value:
ww: OP's spoiler appears as a spoiled </span> after "Can you see why?"
belg4mit WFM
Tanktalus: Doesn't seem borked to me...?
ww: firefox 1.04 on w2k is rendering the node with the spoilt (right after "Can you see why?") and rendering the next two grafs in the clear
ambrus: what's your "Render tags as" setting in Display Settings ?
ww: set as "span" ... "error reporting" = 3
ww: "enforce nesting" is also set, which made rendered page show two spurious end span tags
ambrus: If I both set "spoiler" to span and "html error reporting" to 3 then it breaks for me too (enforce nesting is set to on already)

PS. hmmmphf (more puzzlement): in preview here, I get a warning that I'm missing a </spoiler> after the previous paragraph.

Trying for precision, but if this is more than is needed and useful, my apologies.

Replies are listed 'Best First'.
Re: possible bug at "Render Spoiler Settings" and "html error" (nest p?)
by tye (Sage) on Nov 20, 2005 at 00:26 UTC

    It's just trying to enforce proper nesting, but doesn't realize that most people don't bother trying to do anything close to proper nesting of <p> tags. The next release doesn't have this problem. The problem goes away if the author says <p> ...</p><spoiler><p> instead of <p> ... <spoiler><p>.

    - tye