cat brain.log | less

Getting it down on `paper`

The little known PHP htmlspecialchars

Want to replace only xml entities <, >, &? Don’t use htmlentites or str_replace; use htmlspecialchars.

The only named entities for XML are &amp;, &gt; and &lt;. For all others you need to use the Unicode character code (eg. &#160;). Webkit: Entity ‘nbsp’ not defined – Convert HTML entities to XML



No comments so far.

(comments are closed)