[
https://issues.apache.org/jira/browse/JSPWIKI-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14653582#comment-14653582
]
David Vittor commented on JSPWIKI-900:
--------------------------------------
The code is using jdom2 library to create the XHTML output.
http://www.jdom.org/docs/apidocs/org/jdom2/output/Format.html
http://www.jdom.org/docs/apidocs/org/jdom2/output/XMLOutputter.html
Empty elements are by default printed as <empty/>, but this can be configured
with Format.setExpandEmptyElements(boolean) to cause them to be expanded to
<empty></empty>.
> Problem with the WikiFormsPlugin Text Area
> ------------------------------------------
>
> Key: JSPWIKI-900
> URL: https://issues.apache.org/jira/browse/JSPWIKI-900
> Project: JSPWiki
> Issue Type: Bug
> Components: Plugins, Templates and UI
> Affects Versions: 2.10.1
> Reporter: David Vittor
> Priority: Minor
>
> There is something wrong with the text area on the forms page. The problem
> can be seen on this page.
> https://jspwiki-wiki.apache.org/Wiki.jsp?page=WikiFormsPlugin
> The code snippet below does not render correctly. It breaks HTML syntax rules.
> {noformat}
> !! FormTextareas...
> Of course what good is a form without the abiltiy to have a multiline text
> area.
> Please tell us why you like [Monty
> Python|http://en.wikipedia.org/wiki/Monty_Python]
> {{{
> [{FormTextarea name='whyIlikeMontyPython' rows=5 cols=40}]
> }}}
> [{FormTextarea name='whyIlikeMontyPython' rows=5 cols=40}]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)