various templates have this warning:
<!-- N.B.: do not put spaces or carriage returns inside the
textarea element - these would be rendered -->
<textarea name="description" class="lenya-form-element"><jx:out
value="${request.getParameter('description')}"/></textarea>
unfortunately, all browsers i have tried cannot handle
<textarea/>
to prevent the serializer from collapsing <textarea> (and <script>),
there are 2 options:
* switch to the serializer from the serializers block
* add a space if the textarea value is empty
option 1 works, but that serializer has other problems that make the
site area no longer work
so i added this stylesheet to strip_namespaces:
<xsl:template match="textarea|script|style">
<xsl:element name="{local-name()}">
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
<xsl:if test="string-length(.) = 0"><xsl:text> </xsl:text></xsl:if>
</xsl:element>
</xsl:template>
i do not see a way around this, and google didn't have better ideas
either. comments?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]