This board and "Your post has been changed because invalid HTML.."
dslr595148
Community Leader
Community Leader
I have got warning messages when previewing and posting of...

"Your post has been changed because invalid HTML was found in the message body. The invalid HTML has been removed. Please review the message and submit the message when you are satisfied."

Why can't you just allow users to post "code" samples.








Here are examples on posting code on another site with forums..

http://www.dslreports.com/faq/1037

http://www.dslreports.com/forum/remark,8477196



Quick two quote(s) from that last URL



#1 A code block is very useful when you do not wish anything you type to be interpreted (or misinterpreted) within the code block itself. The format of the text is also exactly preserved, all spaces, and everything.

**



#2 Within a code block, special characters, > ' &
and so on, can be used without any interpretation
being done on them by the forum software or by the
viewers browser.



--

If it is possible to do that here, how does one do that?

Please and thank you. 🙂
0 Likes
1 Solution

Correct answers
Re: This board and "Your post has been changed because invalid HTML.."
CharlotteS
Moderator Emeritus

Hi dslr595148,

That is certainly possible and has been implemented. When you are in the editor writing a post look above the window for this symbol. 

http://forums.verizon.com/t5/assets/lithium/web2/components/editors/tinymce/plugins/insertcode/images/insertcode.gif

Thanks for the suggestion! 🙂

View solution in original post

0 Likes
Re: This board and "Your post has been changed because invalid HTML.."
Techman28
Master - Level 1

dslr595148

To answer your question you will click on the chain link paste your line in there and give it a name like so. the chain link is next to the horizontal bar and the smily face is there as well.

dslreports

0 Likes
Re: This board and "Your post has been changed because invalid HTML.."
CharlotteS
Moderator Emeritus

Hi dslr595148,

That is certainly possible and has been implemented. When you are in the editor writing a post look above the window for this symbol. 

http://forums.verizon.com/t5/assets/lithium/web2/components/editors/tinymce/plugins/insertcode/images/insertcode.gif

Thanks for the suggestion! 🙂

0 Likes