Index: trunk/extensions/Maps/includes/parserHooks/Maps_DisplayPoint.php |
— | — | @@ -140,6 +140,21 @@ |
141 | 141 | $mapClass = $service->getFeatureInstance( 'display_point' ); |
142 | 142 | |
143 | 143 | return $mapClass->getMapHtml( $parameters, $this->parser ); |
| 144 | + } |
| 145 | + |
| 146 | + /** |
| 147 | + * Returns the parser function otpions. |
| 148 | + * @see ParserHook::getFunctionOptions |
| 149 | + * |
| 150 | + * @since 0.7 |
| 151 | + * |
| 152 | + * @return array |
| 153 | + */ |
| 154 | + protected function getFunctionOptions() { |
| 155 | + return array( |
| 156 | + 'noparse' => true, |
| 157 | + 'isHTML' => true |
| 158 | + ); |
144 | 159 | } |
145 | 160 | |
146 | 161 | } |
\ No newline at end of file |
Index: trunk/extensions/Maps/includes/parserHooks/Maps_DisplayMap.php |
— | — | @@ -104,6 +104,21 @@ |
105 | 105 | $mapClass = $service->getFeatureInstance( $this->getName() ); |
106 | 106 | |
107 | 107 | return $mapClass->getMapHtml( $parameters, $this->parser ); |
| 108 | + } |
| 109 | + |
| 110 | + /** |
| 111 | + * Returns the parser function otpions. |
| 112 | + * @see ParserHook::getFunctionOptions |
| 113 | + * |
| 114 | + * @since 0.7 |
| 115 | + * |
| 116 | + * @return array |
| 117 | + */ |
| 118 | + protected function getFunctionOptions() { |
| 119 | + return array( |
| 120 | + 'noparse' => true, |
| 121 | + 'isHTML' => true |
| 122 | + ); |
108 | 123 | } |
109 | 124 | |
110 | 125 | } |
\ No newline at end of file |
Index: trunk/extensions/Maps/includes/parserHooks/Maps_Geocode.php |
— | — | @@ -120,18 +120,6 @@ |
121 | 121 | */ |
122 | 122 | protected function getDefaultParameters( $type ) { |
123 | 123 | return array( 'location', 'geoservice', 'mappingservice' ); |
124 | | - } |
125 | | - |
126 | | - /** |
127 | | - * Returns the parser function otpions. |
128 | | - * @see ParserHook::getFunctionOptions |
129 | | - * |
130 | | - * @since 0.7 |
131 | | - * |
132 | | - * @return array |
133 | | - */ |
134 | | - protected function getFunctionOptions() { |
135 | | - return array(); |
136 | 124 | } |
137 | 125 | |
138 | 126 | /** |