Text format velocity template does not render wiki format field as plain text

Description

We have free format multi-line wiki format fields. In your plugin's template configs we have a "text body template" snippet like this:

These fields are rendered as plain text, but chunks of HTML are included, always starting with <p> and with <br /> annotations.

We need to be able to render these fields in plain text emails exactly as they show when editing the field, ie. as unrendered wiki format.

Please help!

Environment

JIRA 6.4.12

Preliminary Test Cases

None

Assignee

Tibor Hegyi

Reporter

Andrew Heald

Labels

None

Access to limited visibility issues

None

Product platform

None

Module Dependency

None

Ready for Development

None

Components

Affects versions

Priority

Blocker
Configure