jhinkey/liferay-portal — pull request #42 by codyhoag (2013-08-02 16:47:42+00:00)
Title: Preformatted tag logic

Hey Jim,

Here's the JavadocFormatter changes we've worked on. I ran the Formatter through a couple of tests and found some minor problems. These issues should be resolved. You'll notice the commit for removing the `

` tags we were required to use for the previous logic. These are no longer needed. I plan on updating the Javadoc guidelines, pending your review.

Note: During testing of the JavadocFormatter, any string located directly below the last preformatted tag will be wrapped with the tag and the new line will be trashed. For example:

`...`
`

`
`

`

will turn into:

`...`
`

`

The *_formatCDATA()* method drops any \n placed directly after it. However, if a new line is placed between the preformatted tag and the next line of text, the formatting is preserved. We should require a new line before beginning/after ending preformatted tags.