Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
b52f2556
Commit
b52f2556
authored
Jan 07, 2007
by
Dries
Browse files
- Patch
#107306
by webernet: fixed incomplete break-tag clean up.
parent
46808f11
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/book/book.module
View file @
b52f2556
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment