Index: trunk/extensions/MultiBoilerplate/MultiBoilerplate.php |
— | — | @@ -137,8 +137,8 @@ |
138 | 138 | * found one with a name as if it would do this, but it didn't seam to |
139 | 139 | * work). |
140 | 140 | */ |
141 | | - $content = preg_replace( '#<noinclude>(.*?)</noinclude>#', '', $content ); |
142 | | - $content = preg_replace( '#<includeonly>(.*?)</includeonly>#', '$1', $content ); |
| 141 | + $content = preg_replace( '#<noinclude>(.*?)</noinclude>#ims', '', $content ); |
| 142 | + $content = preg_replace( '#<includeonly>(.*?)</includeonly>#ims', '$1', $content ); |
143 | 143 | // TODO: Handle <onlyinclude> tags. |
144 | 144 | $form->textbox1 = $content; |
145 | 145 | } |