PHP Classes

File: test/expect/safehtmlfilter.txt

Recommend this page to a friend!
  Classes of Manuel Lemos   Secure HTML parser and filter   test/expect/safehtmlfilter.txt   Download  
File: test/expect/safehtmlfilter.txt
Role: Auxiliary data
Content type: text/plain
Description: Test expected output
Class: Secure HTML parser and filter
Parse and filter insecure HTML tags and CSS styles
Author: By
Last change:
Date: 14 years ago
Size: 468 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html lang="en"> <head> <title>Simple</title><style type="text/css"><!-- .hello { font-weight: bold } --></style> </head> <body> <p class="hello">Hello world!</p> </body> </html> Warning: unsafe tag <script> at position 110 line 5 column 1 Warning: unsafe event attribute onload at position 284 line 15 column 1 Warning: - additional content multiplicity is not supported at position 88 line 4 column 1