1

(2 replies, posted in PunBB 1.4 bug reports)

Trace wrote:

Yes, but unfortunately pun_quote isn't supported in 1.4.

Sure. Fine. Then I'd like to report a bug in pun_poll extension which is officially supported. It makes punbb to produce invalid markup (w3c specification).

id = name [CS]
This attribute assigns a name to an element. This name must be unique in a document.

pun_poll uses inputs with id="fld#" (fld1, fld2 …)
"Write message" field has its id set to fld1. Having poll on page makes pun_quote malfunction.

Uncaught TypeError: Accessing selectionStart on an input element that cannot have a selection. scripts.js:22
getCaretPos scripts.js:22
QuickQuote scripts.js:162
onclick viewtopic.php:135