title: joomla blank space before module
body: <p>I'm currently developing a custom module and for some reason it appends a blank space before anything I'm outputting.
  My set up is like this:</p>
  
  <p>main class is in helper .php,
  logic is in mod_name .php,
  output is in /tmpl/default .php</p>
  
  <p>The strange thing is that if I have a method in my class that returns html. And then I call this method in my template everything's fine no extra lines are appended.
  But if I try to write output, even plain text, in my template or mod_name.php I get this extra line.</p>
  
  <p>Here's a screenshot:
  <img src="https://i.stack.imgur.com/DQyxV.png" alt="enter image description here"></p>
  
  <p>Please let me know if anyone encountered anything like this before, I'd be much obliged!</p>