xml declaration messes up indentation

Bug #580896 reported by Jimmy Yuen Ho Wong on 2010-05-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I only tested this on genshi-nxhtml mode on trunk but it seems the indentation of the close tag is off by 1 if an xml declaration is included.

<?xml version="1.0" encoding="utf-8"?>
"-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml"

lborgman (lennart-borgman) wrote :

Thanks Jimmy, a good example.

I have started to revamp the indentation code. There are probably some bugs now that I have no idea of, but the new code will take care of more corner cases.

Please test the new beta 2.09 I have uploaded.

Changed in nxhtml:
importance: Undecided → Medium
status: New → In Progress
lborgman (lennart-borgman) wrote :

Hi Jimmy, I am changing the status to "Fix Committed". If you still have problem please respond to this.

Changed in nxhtml:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers