We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2380b32 commit 61f3bd8Copy full SHA for 61f3bd8
filter.php
@@ -115,7 +115,7 @@ protected function convert_urls_into_codepens(&$text) {
115
$unicoderegexp = @preg_match('/\pL/u', 'a'); // This will fail silently, returning false.
116
}
117
118
- $regex = '((https?://)?)(codepen.io\/)([a-zA-Z0-9]+)(\/pen\/)([a-zA-Z0-9]+)';
+ $regex = '((https?://)?)(codepen.io\/)([a-zA-Z0-9_-]+)(\/pen\/)([a-zA-Z0-9_-]+)';
119
120
if ($unicoderegexp) {
121
$regex = '#' . $regex . '#ui';
0 commit comments