HTML Purifier module: added support for embedded youtube videos

HTML Purifier 1.4 contains a filter that allows users to include embedded youtube videos. I added an option to the drupal module so that people can use this feature if they want. It is disabled by default because using this isn't without risk.

There is a slight issue when drupals line break filter is enabled and executed before HTML Purifier. This requires a simple change to the youtube filter.

filed under

Post new comment

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.