* checks on them.
*
* @param string $attvalue A string to run entity check against.
- * @return Void, modifies a reference value.
*/
function tln_defang(&$attvalue)
{
* be funny to make "java[tab]script" be just as good as "javascript".
*
* @param string $attvalue The attribute value before extraneous spaces removed.
- * @return Void, modifies a reference value.
*/
function tln_unspace(&$attvalue)
{
* @param array $add_attr_to_tag See description for tln_sanitize
* @param string $trans_image_path
* @param boolean $block_external_images
- * @return Array with modified attributes.
+ * @return array with modified attributes.
*/
function tln_fixatts(
$tagname,
function tln_fixstyle($body, $pos, $trans_image_path, $block_external_images)
{
- $me = 'tln_fixstyle';
// workaround for </style> in between comments
- $iCurrentPos = $pos;
$content = '';
$sToken = '';
$bSucces = false;
*/
$content = preg_replace("|body(\s*\{.*?\})|si", ".bodyclass\\1", $content);
- $trans_image_path = $trans_image_path;
-
/**
* Fix url('blah') declarations.
*/
function tln_body2div($attary, $trans_image_path)
{
- $me = 'tln_body2div';
$divattary = array('class' => "'bodyclass'");
$text = '#000000';
$has_bgc_stl = $has_txt_stl = false;
}
$trusted .= tln_tagprint($tagname, $attary, $tagtype);
$trusted .= $free_content;
- $trusted .= tln_tagprint($tagname, false, 2);
+ $trusted .= tln_tagprint($tagname, null, 2);
}
continue;
}