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
dd4e6c9c
Commit
dd4e6c9c
authored
Sep 02, 2010
by
Dries
Browse files
- Patch
#877050
by David Stosik, sun: URL filter does not convert a link inside a div.
parent
9c5977db
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/filter/filter.test
View file @
dd4e6c9c
...
@@ -1273,6 +1273,17 @@ www.example.com with a newline in comments -->
...
@@ -1273,6 +1273,17 @@ www.example.com with a newline in comments -->
'href="http://www.example.info"'
=>
TRUE
,
'href="http://www.example.info"'
=>
TRUE
,
'href="mailto:person@example.info"'
=>
TRUE
,
'href="mailto:person@example.info"'
=>
TRUE
,
),
),
'
<div>www.div.com</div>
<ul>
<li>http://listitem.com</li>
<li class="odd">www.class.listitem.com</li>
</ul>
'
=>
array
(
'<div><a href="http://www.div.com">www.div.com</a></div>'
=>
TRUE
,
'<li><a href="http://listitem.com">http://listitem.com</a></li>'
=>
TRUE
,
'<li class="odd"><a href="http://www.class.listitem.com">www.class.listitem.com</a></li>'
=>
TRUE
,
),
);
);
$this
->
assertFilteredString
(
$filter
,
$tests
);
$this
->
assertFilteredString
(
$filter
,
$tests
);
...
...
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