зеркало из https://github.com/mozilla/pjs.git
Fix bug introduced into collapsing of long PIs and comments. Bug 379683
followup, r+sr=sicking.
This commit is contained in:
Родитель
c9aeeb7e2f
Коммит
cf2933ee77
|
@ -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>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче