function cpn_output_noscript in Code per Node 7
Output the NOSCRIPT string with the required HTML tag.
3 calls to cpn_output_noscript()
- cpn_ctools_render_alter in ./
cpn.module - Implements hook_ctools_render_alter().
- cpn_node_view in ./
cpn.module - Implements hook_node_view().
- cpn_preprocess_block in ./
cpn.module - Implements of template_preprocess_block().
File
- ./
cpn.module, line 450 - Primary hook implementations.
Code
function cpn_output_noscript($output) {
return '<noscript>' . filter_xss($output, array(
'a',
'em',
'strong',
'cite',
'blockquote',
'code',
'ul',
'ol',
'li',
'dl',
'dt',
'dd',
'p',
'div',
'br',
'img',
)) . '</noscript>';
}