Kangry.com [insert cool graphic here]
home | Topics | Logout | Search | Contact | ?? Kangry ?? | Bandwitdh
Topics:
DVR
nvrec
Mplayer
Links
Misc
Commands
Humor

Name

Password

New user

uploaded files
(misc)-> fckeditor disable short tags submited by Russell Wed 29 Sep 10
Web kangry.com
I was having a problem getting text edited with the fckeditor to pass html validation. The text from fckedit would specify breaks as <br /> instead of <br>

here is the trick I found which is to specify a value for FCKConfig.DocType in the fckconfig.js file. Only, it doesn't work. Perhaps my version of FCKeditor is old ?

I got tired of searching for a solution and stuck a
$value=str_replace("<br />","<br>",$value);
into the code that saves changes in the database.


Add comment or question...:
Subject:
Submited by: NOT email address. Leave blank for anonymous    (Spam Policy)

Enter Text: (text must match image for posting)




This file (the script that presented the data, not the data itself) , last modified Wednesday 03rd of December 2014 09:40:39 AM
your client: CCBot/2.0 (http://commoncrawl.org/faq/)
current time: Friday 28th of April 2017 09:58:45 AM