mmircea16 Refactoring: Small change to make the call of capture_haml more readable