title: Emacs web-mode tabs not working
body: <p>I am using emacs web-mode to edit my php files and have noticed that the tab key doesn't work the way I expect it to in a couple of different situations.  For example if I have a string that spans multiple lines like this... </p>
  
  <pre><code>&lt;?php
  return "
  &lt;nav&gt;
  &lt;a href='index.php?page=skills'&gt;My skills and background&lt;/a&gt;
  &lt;a href='index.php?page=projects'&gt;Some projects&lt;/a&gt;
  &lt;/nav&gt;
  ";
  ?&gt;
  </code></pre>
  
  <p>and I go to the beginning of the lines with anchor tags and press tab nothing happens.  I have to use the space bar to indent the lines the way I want.</p>
  
  <p>The other situation is occurs inside of a php block for example</p>
  
  <pre><code>&lt;?php 
  error_reporting( E_ALL );
  ini_set( "display_errors", 1);
  $pageData = new stdClass();
  $pageData-&gt;title = "Jordan: Portfolio site";
  $pageData-&gt;content = include_once "views/navigation.php";
  $navigationIsClicked = isset($_GET['page']);
  if($navigationIsClicked) {
      $fileToLoad = $_GET['page'];
      $pageData-&gt;content .= "&lt;p&gt;Will soon load $fileToLoad.php&lt;/p&gt;";
  }
  $page = include_once "templates/page.php";
  echo $page;
  ?&gt;
  </code></pre>
  
  <p>if I go to one of the variable assignment lines and push tab nothing happens, again spaces work fine, then inside the if block only 1 tab is allowed.  Is there any way to change how this mode uses tabs in my .emacs file.  I currently have this in my .emacs</p>
  
  <pre><code>(defun my-setup-php ()
    ;; enable web mode
    (web-mode)
  
    ;; make these variables local
    (make-local-variable 'web-mode-code-indent-offset)
    (make-local-variable 'web-mode-markup-indent-offset)
    (make-local-variable 'web-mode-css-indent-offset)
  
    ;; set indentation, can set different indentation level for different code type
    (setq web-mode-code-indent-offset 4)
    (setq web-mode-css-indent-offset 2)
    (setq web-mode-markup-indent-offset 2))
  
  
  (add-to-list 'auto-mode-alist '("\\.php$" . my-setup-php))
  </code></pre>