constant OEMBED_PATTERN_EMBED_UNWRAP in oEmbed 7.0
Same name and namespace in other branches
- 8 oembed.filter.inc \OEMBED_PATTERN_EMBED_UNWRAP
- 7 oembed.filter.inc \OEMBED_PATTERN_EMBED_UNWRAP
1 use of OEMBED_PATTERN_EMBED_UNWRAP
- oembed_filter_oembed_process in ./
oembed.filter.inc - Implements hook_filter_FILTER_process().
File
- ./
oembed.filter.inc, line 10 - Input filter that enhances oEmbed enabled URLs with extra content
Code
define('OEMBED_PATTERN_EMBED_UNWRAP', '/<p>\\s*+(\\[embed\\b.*?\\].+?\\[\\/embed\\])\\s*+<\\/p>/s');