Main navigation
Product navigation
Main content
CKEditor 4
Overview
Demo
Accessibility Checker
Add-ons
Documentation
Download
Pricing
More
Home
WYSIWYG Editors
CKEditor 4
CKEditor 5
Image upload
CKFinder
Easy Image
Collaboration
Comments
New
Track changes
New
Collaborative editing
Pricing
Case studies
New
Documentation
Help center
Blog
Contact us
The forum operates in
read-only
mode. Please head to
StackOverflow
for support.
Forums
CKEditor
FCKeditor 2
Last post
Tue, 02/12/2008 - 13:08
#1
alip
Joined:
12/02/2008
Posts:
2
Outputting HTML - solution
that
http://www.partyark.co.uk
Tue, 02/12/2008 - 16:08
#2
alfonsoml
Joined:
31/12/2006
Posts:
3735
Re: Outputting HTML - solution
isn't it easier to do GetHTML().replace(' />', '>') ?
Tue, 02/12/2008 - 18:58
#3
alip
Joined:
12/02/2008
Posts:
2
Re: Outputting HTML - solution
That would probably be safe most of the time, but you'd have to watch for cases where /> is not the end of tag. Like this message, for instance!!
Tue, 02/12/2008 - 19:09
#4
alfonsoml
Joined:
31/12/2006
Posts:
3735
Re: Outputting HTML - solution
that > will be escaped as > and it's quite safer than sending it to IE to let it destroy the output. The amount of things that IE can destroy by using innerHTML is really incredible.
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
Re: Outputting HTML - solution
Re: Outputting HTML - solution
Re: Outputting HTML - solution