Why does some HTML get removed from articles in version 1.5.8?

From Joomla! Documentation

Revision as of 13:53, 15 December 2009 by Dhuelsmann (talk | contribs)

In Joomla! 1.5.8 and later, a default filtering choice is in place for those who have not selected an Article Filter option. The default applied for those who have not made a selection implements "black list" filtering as a security precaution against possible XSS. In version 1.5.8, all users, including members of the Super Admin group, have this set by default. In versions 1.5.9 and later, users in the Super Admin group do not have any filtering by default.

Due to this change, you might notice problems trying to save a Youtube video, or embedding other Javascript or Flash objects into your Articles.

If the default filtering option is not suitable for your needs, you can change it by using the Article Global Configuration options. For example, to change the default settings so that no filtering happens for members of the Super Administrator group:

  1. Navigate to Content → Article Manager.
  2. Press the Parameters icon in the toolbar to show the Articles - Global Configuration screen.
  3. Scroll down to Filtering Options, highlight all Filter groups except Super Administrator, and select Filter type of Blacklist (Default), as shown in the screenshot below.
    Html filter example.png

With this setting, Joomla! will use the default Blacklist filter for all users except for the Super Administrator group. If you want to let other groups of Users submit content with no filtering, just modify the instructions above to exclude these groups. If you want no filtering on any groups, follow the instructions above but select only the Registered group.

Note: If you are using the Tiny MCE Editor you may also want to adjust these settings in the plugin:

  • Code Cleanup on Startup -> Off
  • Code cleanup on save -> Never or Front Only
  • Do not clean HTML entities -> Yes [In 1.5.15 and later it is called Entity Encoding -> Raw]


More detailed instructions for filtering options can be found by pressing the Help button when in the Article Manager, or by clicking this link.