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: 7 years ago
Size: 468 bytes


Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<title>Simple</title><style type="text/css"><!--
.hello { font-weight: bold }
<p class="hello">Hello world!</p>
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