Project

General

Profile

« Previous | Next » 

Revision 125

Added by ryan about 19 years ago

Added nl2br to body when viewing a form submission

View differences:

trunk/wb/modules/form/view_submission.php
75 75
</tr>
76 76
<tr>
77 77
	<td colspan="2">
78
		<?php echo (str_replace('\n', '<br />', $submission['body'])); ?>
78
		<?php echo nl2br($submission['body']); ?>
79 79
	</td>
80 80
</tr>
81 81
</table>

Also available in: Unified diff