note 91367 rejected from domelement.construct by danbrown

From: Date: Mon, 08 Jun 2009 17:54:34 +0000
Subject: note 91367 rejected from domelement.construct by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-156480@lists.php.net to get a copy of this message
Note Submitter: trex at pomorsu dot ru ---- I found bug in this function: when you create <img> element function doesn`t create closeed symbol /. For example: $imgPic = new DOMElement("img"); $newButton->appendChild($imgPic); $imgPic->setAttribute("src","./1.jpg"); generate <img src="./1.jpg"> but need <img src="./1.jpg" />

« previous php.notes (#156480) next »