Commit d98b9df5 authored by Melissa Draper's avatar Melissa Draper
Browse files

Fix string substitution to make maps work properly (bug #822110)



Fix provided by Ludwig Ruderstaller

Change-Id: Icf129274dc46f7a39734d5c94aa2a2dca2b84125
Signed-off-by: default avatarMelissa Draper <melissa@catalyst.net.nz>
parent 7fefe24a
......@@ -190,7 +190,7 @@ class PluginBlocktypeGoogleApps extends SystemBlocktype {
// maps.google.com - Google Maps (IMPORTANT: this is for ANY Maps EXCEPT My Maps)
array(
'match' => '#.*maps.google.[^/]*/(maps)?\?([a-zA-Z0-9\.\,\;\_\-\&\%\=\+/]+).*#',
'url' => 'http://maps.google.com/maps?$1',
'url' => 'http://maps.google.com/maps?$2',
'type' => 'iframe',
),
// books.google.com - Google Books
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment