p4ulypops / jquery-clean

Automatically exported from code.google.com/p/jquery-clean
0 stars 0 forks source link

Unable to clean Deprecated HTML tags and attributes #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. enter deprecated HTML tags and attributes, eg <font> or <p align="center">

What is the expected output? What do you see instead?
<font> tag should be removed since it is deprecated.  <p algin="center"> should 
return a <p>

What version of the product are you using? On what operating system?
jquery-clean version 1.2.3

Please provide any additional information below.
Perhaps can add in a new options, removedDeprecated - true|false to remove 
deprecated HTML tags and attributes.

Original issue reported on code.google.com by tansw...@gmail.com on 11 Oct 2010 at 6:30

GoogleCodeExporter commented 9 years ago
It should and as far as I can see does.

I have added an explicit test to the top of the test page 
jquery.htmlClean.test.htm

Clean: <p align='center'><font>hello</font><p>

actual  : '<p>hello</p>'
expected: '<p>hello</p>'

Can you give this a go and confirm, if its still a problem, please let me have 
the code you are using and the version and browser you are running in.

Original comment by antixsof...@gmail.com on 11 Oct 2010 at 6:27