| Index
» Projects
» phpMyEdit
» Forum
» mystery <br \> tags inserted |
 |
wkpatton
Joined: 17 Dec 2009
Posts: 2
Posted: 2009-12-17 16:56
Back to top
Reply with quote
|
hello - i'm attempting to enter html into a field and am finding that when the content is written back out in the data list view - a <br \> is being added to the html - eg.
<table border="0"><br />
<tbody><br />
<tr><br />
<td>cell</td><br />
</tr><br />
</tbody><br />
</table></td>
i've tried commenting out the line in phpMyEdit.class.php that i think is doing this:
line 307: //--might be adding the br tags... echo '::<b>',htmlspecialchars($val),'</b>::',"<br />\n";
But i'm still getting the same behavior. Any ideas would be much appreciated...
-bill
|
doug
Joined: 10 Feb 2003
Posts: 1013
Location: Denver, Colorado (USA)
Posted: 2009-12-17 23:21
Back to top
Reply with quote
|
See "HTML escaping" at
http://opensource.platon.sk/projects/doc.php/phpMyEdit/html/configuration.fields.booleans.html#AEN913
|
wkpatton
Joined: 17 Dec 2009
Posts: 2
Posted: 2009-12-18 15:48
Back to top
Reply with quote
|
doug - thanks for the reply - i thought i had tested this option but will try again.
-bp
|
|
Post new topic
Reply to topic
|
|
|
|