MMBase

HTMLArea editor produces invalid (x)html

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 1.8.4
  • Fix Version/s: None
  • Component/s: Editwizards
  • Description:
    The (x)html code that is generated by the HTMLArea edit is not valid. Tags like <i> or <b> are no longer allowed and could be replaced with tags like <span style="font-weight: bold;">.

Activity

Hide
Michiel Meeuwissen added a comment - 2007-06-21 11:53
I don't understand why that would be an improvement.

I have little knowlegde about HTMLArea, nor do I want to have that, but my opinion is that
<span style=".." is uglier then <b> is uglier then <strong>

<span style="font-weight: bold;" is even uglier than a <font tag......

<i> and <b> _are_ valid XHTML tags, btw.

Show
Michiel Meeuwissen added a comment - 2007-06-21 11:53 I don't understand why that would be an improvement. I have little knowlegde about HTMLArea, nor do I want to have that, but my opinion is that <span style=".." is uglier then <b> is uglier then <strong> <span style="font-weight: bold;" is even uglier than a <font tag...... <i> and <b> _are_ valid XHTML tags, btw.
Hide
André van Toly added a comment - 2007-06-21 14:35
You could (or should rather) use Xinha or TinyMCE. You can do so by replacing 'wizard.xsl' with 'wizard_xinha.xsl' or 'wizard_tinymce.xsl'. See the directory '/mmbase/edit/wizard/data/xsl/' of your MMBase webapp.
Show
André van Toly added a comment - 2007-06-21 14:35 You could (or should rather) use Xinha or TinyMCE. You can do so by replacing 'wizard.xsl' with 'wizard_xinha.xsl' or 'wizard_tinymce.xsl'. See the directory '/mmbase/edit/wizard/data/xsl/' of your MMBase webapp.

People

Dates

  • Created:
    2007-06-20 10:10
    Updated:
    2007-06-21 14:35
    Resolved:
    2007-06-21 14:35