PostNuke

Flexible Content Management System

News

Allowable HTML in Stories

Contributed by Anonymous on Oct 09, 2001 - 11:56 PM

In your includes/textsanitizer.php on line 110 or so you should see a line that looks like this:




var $allowed = "<a>,<b>,<blockquote>,<img>,<code>,<div>,<em>,


<i>,<li>,<ol>,<p>,<pre>,<strike>,<strong>,<sub>,


<sup>,<tt>,<u>,<ul>,<image>";




On this line add whatever extra tags that you need to use.




We will work on making this configurable in the admin to allow you to have an easier time at adding or subtracting HTML tags that you want to use.




In the meantime, this should help you to adding them manually.
1935