I'm saving rich texts from my custom component. It uses wysiwyg editor. Therefore there are html codes also.

<!-- More here -->
<td colspan="5"> </td>
<!-- More here -->    

After saving and viewing them again I can see 'replacement character-U+FFFD' in empty td tag. I tried to add nbsp html entity. But it is replaced with empty character.

I want to save this td tag empty. Is there any way around to do that?


  • Which editor you use? If Tiny Editor go in Plugins -> Editors -> Tiny Editor and change the Entity Encoding setting to raw, or try all 3 options and see if that makes any difference.
    – FFrewin
    Oct 22 '14 at 8:06
  • And also: are you copying/pasting your code in the editor field ? Try again by only typing your code directly.
    – FFrewin
    Oct 22 '14 at 8:12
  • Why are you inserting whitespace in the empty <td> anyway? If it is empty, leave it empty, don't insert a space. Oct 22 '14 at 8:29
  • I'm using Tiny editor. Encoding is raw
    – cha
    Oct 22 '14 at 8:36
  • Please see Farahmand's answer.It works for me. Thanks for help.
    – cha
    Oct 22 '14 at 8:42

In your admin side, go to "Extensions" -> "Plug-in Manager". Then click on "Editor - TinyMCE".

Now enter the td[*] for "Extended Valid Elements" and save it.

Joomla TinyMCE empty tags

  • 1
    You're welcome! Glad it helped.
    – Farahmand
    Oct 22 '14 at 8:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.