emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Indentation bug in html-mode


From: Lennart Borgman (gmail)
Subject: Indentation bug in html-mode
Date: Mon, 23 Apr 2007 01:08:27 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666

The attached file is valid XHTML 1.1 but indents badly because of the < inte <?php ... ?> part. I paste it here for simplicity too:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
          "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
  <head>
    <title>Indentation bug at &lt;</title>
  </head>
  <body>
    <div id="main">
      <?php
         for ($i = 0; $i < 4711; ++$i) {
                           }
                           ?>
         </div>
    </body>
  </html>

In GNU Emacs 22.0.98.1 (i386-mingw-nt5.1.2600)
 of 2007-04-22

reply via email to

[Prev in Thread] Current Thread [Next in Thread]