Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unwanted entity interpretation
#1
I'm trying to create a page that shows some sample HTML code. I want the page to appear like this to the user:
Code:
<a href="#dest">Link text</a>


In other words, to show how to create a link. In HTML, I would write
Code:
&lt;a href="#dest"&gt;Link text&lt;/a&gt;

to get the angle brackets to show up instead of being interpreted. If I do this in GetSimple, it's rendered as an actual link.

I can work around this behavior by entity-encoding the "a" following the opening bracket, and by entity-encoding the "/" following the closing bracket (which is difficult to illustrate on this board; apparently it wants to show the "a" and "/" decoded) but this is tedious and shouldn't be necessary. I've read some of the other comments on the forum and tried changing GSEDITOROPTIONS to 'entities : false' in my gsconfig.php, but this had no effect.

I am not using the fancy HTML editor. I'm running GetSimple 3.2.0 on PHP 5.3.2 on Ubuntu 10.04. I have attached a data file that shows this.

Thanks


Attached Files
.txt   test-page.xml.txt (Size: 804 bytes / Downloads: 3)
Reply




Users browsing this thread: 1 Guest(s)