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
Support
Last post
Fri, 10/05/2012 - 04:07
#1
bgoodbody
Joined:
17/09/2012
Posts:
20
How do I remoce html tag formatting in source
In the source the <p> tag is followeb by a CrLf and some spaces to make the source forammtin look good, how do I prevent it from being there?
Fri, 10/12/2012 - 03:56
#2
johanna
Joined:
12/10/2012
Posts:
1
Re: How do I remoce html tag formatting in source
I am facing the very same issue, I can't remove/replace the html tag formatting in source. Have you found the answer to this problem? Please let me know. Thanks in advance.
Wed, 10/24/2012 - 17:21
#3
bgoodbody
Joined:
17/09/2012
Posts:
20
Re: How do I remoce html tag formatting in source
My solution is when I take the text from the box and before adding to the DB, I "replace" the offending characters with nothing
Replace(Replace(Replace(txtMessage.Text, vbCrLf, ""), vbTab, ""), vbLf, "")
I also remove the " " that are in the text
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
Re: How do I remoce html tag formatting in source
Re: How do I remoce html tag formatting in source
Replace(Replace(Replace(txtMessage.Text, vbCrLf, ""), vbTab, ""), vbLf, "")
I also remove the " " that are in the text