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 Tuesday 06th of March 2018 11:41:12 PM
your client: claudebot
current time: Tuesday 19th of March 2024 02:06:14 AM