Subject: bug#7768: 24.0.50; nXML mode misindents if CDATA on a new line

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 04 Mar 2016 14:46:45 +0000

[email-masked] writes:

> The last line gets misindented:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <kml xmlns="http://www.opengis.net/kml/2.2">
>   <Document>
>     <Style id="Bridge"><IconStyle><Icon><href>http://jidanni.org/location/bridge.png</href></Icon></IconStyle></Style>
>     <!--<Style id="Path"><LineStyle><color>7fff00ff</color></LineStyle></Style>-->
>     <Folder>
>       <name>燥坑 Zao Keng</name>
>       <open>1</open>
>       <description>
> 	<![CDATA[<a
> 		 href="http://jidanni.org/location/directions/zaokeng.html"
> 		 >燥坑至積丹尼 Zao Keng to Jidanni</a>]]></description>
> 	<Folder>

I can confirm that this bug is still present in Emacs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no