Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorProblems with badly formed htmlProblems with badly formed html
Previous
 
Next
New Post
4/27/2007 2:01 AM
 

I found an issue with the FCK Editor, that I thought I should post about incase others run into this.  The fck editor doesn't seem to cope well with badly formed html.  This is understandable but rather than informing you of the problem you get a page error stating 'Invalid Argument' then a reference to the fckeditor.html page.

To reproduce this error in DNN 4.5.1 have a font tag overlap a p tag. 

Eg; add an HTML/Text module to a page and add the following:

<P align=center>
 <FONT face=Tahoma>
  <B>Badly Formed html with a font on the outsite of a paragraph</B>
  <BR>
</P>
</FONT>

Notice that the font tag should be closed before the end p tag but isn't.  Obviously this is bad html, but it happens sometimes.  This was an issue because we recently upgraded from a site where the FTB editor allowed this.   After the update this page could no longer be edited.

Temporary Fix:  Correct your html.  If you need to you can load and save it directly in the database by calling GetHtmlText [moduleid] and UpdateHtmlText [moduleid] 
(Alternatively copy and paste, and delete the module, then add it again)

 
New Post
5/6/2007 12:19 AM
 

TimWh

Can you please point to a more detailed description of the error?.... (Maybe a screen shot). If it is something related to the provider, then we will work on that.

Malformed html is not always easy to be managed even for advanced html editors like dreamweaver, etc. but maybe we can help by posting at the forums in www.fckeditor.net


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post
5/22/2007 3:51 PM
 

I'm experiencing the exact same problem. Only in IE actually.  I'm using the same code as above as an example of code that breaks it. Once the code is in the source, I can't go back and change the source code... I can't clean up the code using the editor.. or save the contents. This works fine with FireFox.. but it would be really great if there was a resolution for this in IE.. Any ideas? The error references /editor/fckeditor.html as the code in which the error occurred.

Screen shot:

 
New Post
5/22/2007 10:37 PM
 

There are some active issues with malformed html in the FCKeditor (Remember that FCKeditor is a external work)

http://dev.fckeditor.net/ticket/462

http://dev.fckeditor.net/ticket/252

http://dev.fckeditor.net/ticket/166

and there are other but I cannot find them at this time. You can look the current development issues here:

http://dev.fckeditor.net/report

 


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorProblems with badly formed htmlProblems with badly formed html


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out