Remove overhead whitespace in templates.

This commit is contained in:
Mark Scherer 2015-06-17 11:04:04 +02:00
parent ccac3b3e06
commit 51d75bc2be

View file

@ -47,13 +47,13 @@ class HtmlHelper extends AppHelper {
'meta' => '<meta%s/>', 'meta' => '<meta%s/>',
'metalink' => '<link href="%s"%s/>', 'metalink' => '<link href="%s"%s/>',
'link' => '<a href="%s"%s>%s</a>', 'link' => '<a href="%s"%s>%s</a>',
'mailto' => '<a href="mailto:%s" %s>%s</a>', 'mailto' => '<a href="mailto:%s"%s>%s</a>',
'form' => '<form action="%s"%s>', 'form' => '<form action="%s"%s>',
'formend' => '</form>', 'formend' => '</form>',
'input' => '<input name="%s"%s/>', 'input' => '<input name="%s"%s/>',
'textarea' => '<textarea name="%s"%s>%s</textarea>', 'textarea' => '<textarea name="%s"%s>%s</textarea>',
'hidden' => '<input type="hidden" name="%s"%s/>', 'hidden' => '<input type="hidden" name="%s"%s/>',
'checkbox' => '<input type="checkbox" name="%s" %s/>', 'checkbox' => '<input type="checkbox" name="%s"%s/>',
'checkboxmultiple' => '<input type="checkbox" name="%s[]"%s />', 'checkboxmultiple' => '<input type="checkbox" name="%s[]"%s />',
'radio' => '<input type="radio" name="%s" id="%s"%s />%s', 'radio' => '<input type="radio" name="%s" id="%s"%s />%s',
'selectstart' => '<select name="%s"%s>', 'selectstart' => '<select name="%s"%s>',
@ -65,13 +65,13 @@ class HtmlHelper extends AppHelper {
'optiongroupend' => '</optgroup>', 'optiongroupend' => '</optgroup>',
'checkboxmultiplestart' => '', 'checkboxmultiplestart' => '',
'checkboxmultipleend' => '', 'checkboxmultipleend' => '',
'password' => '<input type="password" name="%s" %s/>', 'password' => '<input type="password" name="%s"%s/>',
'file' => '<input type="file" name="%s" %s/>', 'file' => '<input type="file" name="%s"%s/>',
'file_no_model' => '<input type="file" name="%s" %s/>', 'file_no_model' => '<input type="file" name="%s"%s/>',
'submit' => '<input %s/>', 'submit' => '<input%s/>',
'submitimage' => '<input type="image" src="%s" %s/>', 'submitimage' => '<input type="image" src="%s"%s/>',
'button' => '<button%s>%s</button>', 'button' => '<button%s>%s</button>',
'image' => '<img src="%s" %s/>', 'image' => '<img src="%s"%s/>',
'tableheader' => '<th%s>%s</th>', 'tableheader' => '<th%s>%s</th>',
'tableheaderrow' => '<tr%s>%s</tr>', 'tableheaderrow' => '<tr%s>%s</tr>',
'tablecell' => '<td%s>%s</td>', 'tablecell' => '<td%s>%s</td>',
@ -91,7 +91,7 @@ class HtmlHelper extends AppHelper {
'fieldsetstart' => '<fieldset><legend>%s</legend>', 'fieldsetstart' => '<fieldset><legend>%s</legend>',
'fieldsetend' => '</fieldset>', 'fieldsetend' => '</fieldset>',
'legend' => '<legend>%s</legend>', 'legend' => '<legend>%s</legend>',
'css' => '<link rel="%s" type="text/css" href="%s" %s/>', 'css' => '<link rel="%s" type="text/css" href="%s"%s/>',
'style' => '<style type="text/css"%s>%s</style>', 'style' => '<style type="text/css"%s>%s</style>',
'charset' => '<meta http-equiv="Content-Type" content="text/html; charset=%s" />', 'charset' => '<meta http-equiv="Content-Type" content="text/html; charset=%s" />',
'ul' => '<ul%s>%s</ul>', 'ul' => '<ul%s>%s</ul>',
@ -1188,7 +1188,7 @@ class HtmlHelper extends AppHelper {
* *
* ``` * ```
* $tags = array( * $tags = array(
* 'meta' => '<meta %s>' * 'meta' => '<meta%s>'
* ); * );
* ``` * ```
* *