User Login    
 + Register
Bookmark and Share
  • Main navigation
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Project: WYSIWYG editors for XOOPS
Summary   News   Forums   Trackers   Bugs   Support   Patches   Features  
Tasks   Samples   Docs   Lists   Surveys   Files   CVS  

Browse | Submit New

[ #4554 ] FCKeditor - HtmlSpecialChars Problem (Ampersands)

Email:  
Date:
2007-05-01 22:34
Priority:
5
Submitted By:
Mark Boyden (mboyden)
Assigned To:
(none)
Category:
None
Status:
Open
Summary:
FCKeditor - HtmlSpecialChars Problem (Ampersands)
Best I can tell this is a XOOPS implementation issue in FCKeditor. Any special HTML characters cause a cascading effect with the ampersands. For instance, a WYSIWYG quote " will become " in the database as it should be. However, after FCKeditor (in this implementation) pulls it back up, it then displays " in the WYSIWYG side instead of ". The next time it becomes " and then " etc. What I had to do was change fckeditor.php, line 61 from: $HtmlValue = htmlspecialchars( $this->Value ) ; to be these two lines: global $myts; $HtmlValue = $myts->htmlSpecialChars( $this->Value ) ; This is because this XOOPS implementation uses the $myts->undoHtmlSpecialChars function before throwing it back into the database. I'm using XOOPS 2.0.16 on PHP 5.2 and mySQL 4.1

Add a Comment:

Please log in!


If you cannot login, then enter your email address here:

DO NOT enter passwords or other confidential information!

Followups:

Message
Date: 2014-06-16 10:30
Sender: none
Logged In: No some really nice and useful information on this web site <a href="http://canariasgrafica.es/wp-content/uploads/listinfo.php?pid=5246" >Gafas Online</a> [url=http://canariasgrafica.es/wp-content/uploads/listinfo.php?pid=5246]Gafas Online[/url]

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item