Header and footer files - Post ID 258572

User 2822489 Photo


Registered User
7 posts

Here is a new version of the script fixing the following bugs/issues:
  • Function for cleaning duplicate lines within <head></head> tags would sometimes cause errors if JavaScript was located within the header. This is fixed (headers are still merged, but duplicate lines removal within <head></head> tags was disabled).
  • The script will no longer select a random <body> tag. It will prioritize body tags with attributes if present.
  • Improved support for HTML5 tags.

If you already is using the script on your server, you only need to replace a singe file in order to update (purify.php).
Attachments:

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.