Commit b52f2556 authored by Dries's avatar Dries

- Patch #107306 by webernet: fixed incomplete break-tag clean up.

parent 46808f11
......@@ -781,7 +781,7 @@ function book_recurse($nid = 0, $depth = 1, $visit_pre, $visit_post) {
*/
function book_node_visitor_html_pre($node, $depth, $nid) {
// Remove the delimiter (if any) that separates the teaser from the body.
$node->body = str_replace('<break>', '', $node->body);
$node->body = str_replace('<!--break-->', '', $node->body);
// The 'view' hook can be implemented to overwrite the default function
// to display nodes.
......
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