mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Fix bug introduced into collapsing of long PIs and comments. Bug 379683followup, r+sr=sicking.
This commit is contained in:
parent
66cd05d7b8
commit
687c24bfdb
@ -123,12 +123,14 @@
|
||||
<div class="expander-open">
|
||||
<xsl:call-template name="expander"/>
|
||||
|
||||
<div class="pi">
|
||||
<span class="pi">
|
||||
<xsl:text> <?</xsl:text>
|
||||
<xsl:value-of select="name(.)"/>
|
||||
<div class="expander-content"><xsl:value-of select="."/></div>
|
||||
</span>
|
||||
<div class="expander-content pi"><xsl:value-of select="."/></div>
|
||||
<span class="pi">
|
||||
<xsl:text>?></xsl:text>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
@ -144,13 +146,15 @@
|
||||
<div class="expander-open">
|
||||
<xsl:call-template name="expander"/>
|
||||
|
||||
<div class="comment">
|
||||
<span class="comment">
|
||||
<xsl:text><!--</xsl:text>
|
||||
<div class="expander-content">
|
||||
<xsl:value-of select="."/>
|
||||
</div>
|
||||
<xsl:text>--></xsl:text>
|
||||
</span>
|
||||
<div class="expander-content comment">
|
||||
<xsl:value-of select="."/>
|
||||
</div>
|
||||
<span class="comment">
|
||||
<xsl:text>--></xsl:text>
|
||||
</span>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user