Jump to content

Entities


Guest Mark

Recommended Posts

I think HTML entities should not be parsed within code boxes. If we're posting HTML source code, how are we suppose to demonstrate entities?

In the below I am going to type the HTML entity for the letter A;

A


A



I'm not sure quite if this would work, but surely this would do it:

$text = preg_replace("&","&",$text);



?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...