Commit f0c5a286 authored by Steven Wittens's avatar Steven Wittens

- #26458: node_search doesn't node_view, causing bad snippets.

parent d720c661
......@@ -580,7 +580,7 @@ function node_search($op = 'search', $keys = null) {
'user' => format_name($node),
'date' => $node->changed,
'extra' => $extra,
'snippet' => search_excerpt($keys, check_output($node->body, $node->format, FALSE)));
'snippet' => search_excerpt($keys, $node->body));
}
return $results;
}
......
......@@ -580,7 +580,7 @@ function node_search($op = 'search', $keys = null) {
'user' => format_name($node),
'date' => $node->changed,
'extra' => $extra,
'snippet' => search_excerpt($keys, check_output($node->body, $node->format, FALSE)));
'snippet' => search_excerpt($keys, $node->body));
}
return $results;
}
......
Markdown is supported
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