Ignore:
Timestamp:
01/18/14 14:06:21 (6 years ago)
Author:
mistic100
Message:

add strip_tags in meta keywords

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/typetags/include/events_public.inc.php

    r26665 r26855  
    186186  } 
    187187} 
     188 
     189function typetags_escape() 
     190{ 
     191  global $template; 
     192  $template->set_prefilter('header', 'typetags_escape_prefilter'); 
     193} 
     194function typetags_escape_prefilter($content) 
     195{ 
     196  $search = '{$tag.name}'; 
     197  $replace = '{$tag.name|strip_tags}'; 
     198  return str_replace($search, $replace, $content); 
     199} 
Note: See TracChangeset for help on using the changeset viewer.