Some quoted material is outside the quote block, as the block closes prematurely. The trigger appears to be a double line feed, i.e. two or more [enter] keystrokes.
cheers,
gary
If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.