Skip to content

Instantly share code, notes, and snippets.

Created February 20, 2013 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4997952 to your computer and use it in GitHub Desktop.
Save anonymous/4997952 to your computer and use it in GitHub Desktop.
emacs web-mode.el observed issue with multiline if clauses not indenting...
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style>
.main { color: red; }
p {
color:blue;
}
</style>
<script>
var x=1;
function ftw(){
alert(x);
}
</script>
<body>
<p>
<?=$obj->show(array('x'=>1,
'y'=>3))?>
</p>
<?
if ($this->showing=='movies' && count($this->groups) && ($group=$this->groups[0]) &&
isset($group['POSTER']) && isset($group['LENGTH']) && isset($group['SRC']) && count($group['SRC']) &&
($av=$group['SRC'][0]) && $this->widths[$av] && $this->heights[$av]){
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment