Great. That should solve bug #6576. But does someone know a solution to the fact that in the EditWizard in empty HTML-area's <br />'s and <p>'s are inserted, bug #6491 ? Or is this not related?

---Andr�


At 02:30 +0200 14-09-2004, Martijn Houtman wrote:
The problem can be solved by changing wizard.xsl as follows:

.......
  <xsl:template name="ftype-text">
    <xsl:choose>
      <xsl:when test="@maywrite!=&apos;false&apos;">
        <span>
          <textarea name="[EMAIL PROTECTED]" id="[EMAIL PROTECTED]" class="input"
wrap="virtual">
            <xsl:if test="not(@cols)">
              <xsl:attribute name="cols"><xsl:value-of
select="$default-cols" /></xsl:attribute>
            </xsl:if>
            <xsl:if test="not(@rows)">
              <xsl:attribute name="rows"><xsl:value-of
select="$default-rows" /></xsl:attribute>
            </xsl:if>
            <xsl:apply-templates select="@*"/>

<!-- replaced to remove extra carriage returns
           <xsl:value-of select="value" />
-->
            <xsl:value-of select="translate(value,'&#13;','')" />

          </textarea>
........

This works for me, but it might introduce other problems. Please test it.

Martijn Houtman


--
------------------------------------------------------------------>><<--
Andr� van Toly
http://www.toly.nl
06-27233562



Reply via email to