Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
7c7b7252
Commit
7c7b7252
authored
Nov 20, 2001
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed the line filter: it should not strip v's.
parent
2c3409f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/node.module
modules/node.module
+1
-1
modules/node/node.module
modules/node/node.module
+1
-1
No files found.
modules/node.module
View file @
7c7b7252
...
...
@@ -94,7 +94,7 @@ function node_filter_line($text) {
*/
if
(
strstr
(
$text
,
"<br />"
)
||
strstr
(
$text
,
"<p>"
))
{
$text
=
ereg_replace
(
"[
\r\n
\t\v
]"
,
""
,
$text
);
$text
=
ereg_replace
(
"[
\r\n
]"
,
""
,
$text
);
}
/*
...
...
modules/node/node.module
View file @
7c7b7252
...
...
@@ -94,7 +94,7 @@ function node_filter_line($text) {
*/
if
(
strstr
(
$text
,
"<br />"
)
||
strstr
(
$text
,
"<p>"
))
{
$text
=
ereg_replace
(
"[
\r\n
\t\v
]"
,
""
,
$text
);
$text
=
ereg_replace
(
"[
\r\n
]"
,
""
,
$text
);
}
/*
...
...
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