Skip to content

Commit

Permalink
Remove para tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ikawhero committed Feb 3, 2006
1 parent 512cc05 commit 1f697b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/data/lib.php
Expand Up @@ -136,7 +136,8 @@ function display_edit_field($id, $dataid=0){
function display_browse_field($fieldid, $recordid){
if ($content = get_record('data_content', 'fieldid', $fieldid, 'recordid', $recordid)){
if (isset($content->content)) {
$str = format_text($content->content, $content->content1);
$options->para = false;
$str = format_text($content->content, $content->content1, $options);
} else {
$str = '';
}
Expand Down

0 comments on commit 1f697b9

Please sign in to comment.