Commit d6314b80 authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-70 Code standard: add space.

parent b4e0f46d
......@@ -700,7 +700,7 @@ function uw_ct_event_link_field_process($element, $form_state, $complete_form) {
function uw_ct_event_views_pre_render(&$view) {
if($view->name == "events_responsive") {
foreach($view->result as $key => $result) {
if (isset($view->result[$key]->field_body[0]['rendered']['#markup']) && $view->result[$key]->field_body[0]['rendered']['#markup'] !='') {
if (isset($view->result[$key]->field_body[0]['rendered']['#markup']) && $view->result[$key]->field_body[0]['rendered']['#markup'] != '') {
$view->result[$key]->field_body[0]['rendered']['#markup'] = check_markup(preg_replace(',<(/?)h\d,', '<$1p', $view->result[$key]->field_body[0]['rendered']['#markup']), 'uw_tf_basic');
$view->result[$key]->field_body[0]['rendered']['#markup'] = _filter_htmlcorrector($view->result[$key]->field_body[0]['rendered']['#markup']);
$view->result[$key]->field_body[0]['rendered']['#markup'] = preg_replace("/<img[^>]+\>/i", "", $view->result[$key]->field_body[0]['rendered']['#markup']);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment