[feature/editor-code-tabs] Correctly count indentation on first line

Correctly count indentation on first line of code tag

PHPBB3-11557