• All Community
    • All Community
    • Forums
    • Ideas
    • Blogs
Advanced

Not what you are looking for? Ask the experts!

Kudos1 Stats

Possible explanation for the "HTML is invalid" message during post editing

So, for the first time since being validated and allowed free reign to preview - I've run into the dreaded error message indicating that the HTML of my reply is invalid.  After doing some experimentation, I've discovered the following:

1. The problem occurred when I copied some text from another post and pasted it into my edit-window.

2. The copied text included a smiley.

3. Deleting the smiley solved the problem and allowed the editor session to continue normally.

4. I was able to re-enter the smiley manually during the editor session - once I had erased the smiley pasted in from the original post I was copying from.

From the above I deduce:

1. Graphical elements copied in from outside the editor environment are not valid in the editor environment without editing those elements such that they are in conformance with the way those elements are formatted inside the editor environment.

2. The editor has sufficient "smarts" to know the difference between elements created natively in the editor environment and elements copied in from outside the editor environment.

3. I do not know what the differences were - I didn't get that far.  Got the problem solved so quickly that it never occurred to me to look deeper.  That will have to wait for the next time I bang into the problem.  

Anywho, there's my latest take on this particular Lithium bug... 

Replies

Kudos0

Re: Possible explanation for the "HTML is invalid" message during post editing

So, for the first time since being validated and allowed free reign to preview - I've run into the dreaded error message indicating that the HTML of my reply is invalid.  After doing some experimentation, I've discovered the following:

1. The problem occurred when I copied some text from another post and pasted it into my edit-window.

2. The copied text included a smiley.

3. Deleting the smiley solved the problem and allowed the editor session to continue normally.

4. I was able to re-enter the smiley manually during the editor session - once I had erased the smiley pasted in from the original post I was copying from.

From the above I deduce:

1. Graphical elements copied in from outside the editor environment are not valid in the editor environment without editing those elements such that they are in conformance with the way those elements are formatted inside the editor environment.

2. The editor has sufficient "smarts" to know the difference between elements created natively in the editor environment and elements copied in from outside the editor environment.

3. I do not know what the differences were - I didn't get that far.  Got the problem solved so quickly that it never occurred to me to look deeper.  That will have to wait for the next time I bang into the problem.  

Anywho, there's my latest take on this particular Lithium bug... 

Kudos0

Re: Possible explanation for the "HTML is invalid" message during post editing

<<   That will have to wait for the next time I bang into the problem.   >>

You won't have to long to wait .... copy some messge topics from the message listing page of a forum and paste them into a messge because you want someone to go read the message.

Like

Possible explanation for the "HTML is invalid" mes...  

from the left column of the front page of this forum......

BTW One workaround is to click Preview or Post several times until it does go there ....

But only editing the HTML of a Subject link works .... Have a look on the HTML tab and you'll see why.

Hugh
Kudos0

Re: Possible explanation for the "HTML is invalid" message during post editing

That makes sense.  I just assumed that Lithium hates us.  

Under certain circumstances profanity provides relief denied even to prayer.Mark Twain

This thread is closed from further comment. Please visit the forum to start a new thread.