I have the below piece of code
<ul class="form-list">
<li>
<label for="login-email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
<div class="input-box">
<input type="text" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" />
</div>
</li>
<li>
<label for="login-password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
<div class="input-box">
<input type="password" class="input-text required-entry" id="login-password" name="login[password]" />
</div>
</li>
<?php echo $this->getChildHtml('form.additional.info'); ?>
</ul>
While most of the above are clear, I am struggling to understand the use of the below line
<?php echo $this->escapeHtml($this->getUsername()) ?>
Why couldn't I have just done
<?php echo $this->getUsername()?>
If it is a blank form that is seeking input, then what is being echoed?
Thanks for the help