1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 04:23:38 +01:00

[feature/template-events] Add additional space for editors

Use `' ?'. '>'` rather than `' ?>'` as the latter causes problems
in some editors.

PHPBB3-9550
This commit is contained in:
Erik Frèrejean 2012-04-19 13:58:41 +02:00 committed by Oleg Pudeyev
parent 6fc0c889fd
commit 2add66c0eb

View File

@ -914,7 +914,7 @@ class phpbb_template_filter extends php_user_filter
}
// Need spaces inside php tags as php cannot grok
// < ?php? > sans the spaces
return ' ?>' . $all_compiled . '<?php ';
return ' ?' . '>' . $all_compiled . '<?php ';
}
// 1. find all mods defining hooks for location