Update document.php
Removed whitespace
Merge pull request #5119 from bembelimen/patch-23

Allow "external" JDocument classes