1

I have created some nodes containing Javascript code into body field using Php filter. I also have tried by using Full Html filter. Now when I search through default drupal search then result list also show Javascript code as shown in figure below. But when I visit the node that shows right output rather than Javascript code.

When I use Javascript into Php filter:

enter image description here

When I use Javascript into Full Html filter:

enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.