Changeset 32164 for extensions
- Timestamp:
- May 3, 2020, 8:24:51 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/meta_og/main.inc.php
r32133 r32164 188 188 // og:title 189 189 if (!empty($metaog['metaogtitle'])) { 190 $template->append('head_elements', '<meta property="og:title" content="' . trigger_change('AP_render_content', $metaog['metaogtitle']) . '">');190 $template->append('head_elements', '<meta property="og:title" content="' . strip_tags(trigger_change('AP_render_content', $metaog['metaogtitle'])) . '">'); 191 191 } 192 192 193 193 // og:description 194 194 if (!empty($metaog['metaogdescription'])) { 195 $template->append('head_elements', '<meta property="og:description" content="' . trigger_change('AP_render_content', $metaog['metaogdescription']) . '">');195 $template->append('head_elements', '<meta property="og:description" content="' . strip_tags(trigger_change('AP_render_content', $metaog['metaogdescription'])) . '">'); 196 196 } 197 197
Note: See TracChangeset
for help on using the changeset viewer.