1
If you post a message in the faq and you want & to appear as code, you will have to write:
- the entity for the & sign (entity delimiter)
- the "amp" word
- the ; (entity delimiter)
If you edit&save the post you will see the entities goes into chars so the & will be converted in & and on the next save the content is modified.
This will render the html code not XHTML compliant.
To solve this, in the xoopsfaq/admin edit the index.php file.
Goto line 219 and edit this line:
$contents_contents = $myts->makeTareaData4Edit(myrow['contents_contents']);
change it to:
$contents_contents = $myts->makeTareaData4Edit(htmlentities($myrow['contents_contents']));
Same problem seen on this forum!