<blockquote/> support

This commit is contained in:
Astro 2014-07-08 22:37:57 +02:00
parent fdad142e05
commit 838a2097a5
3 changed files with 20 additions and 0 deletions

View File

@ -808,6 +808,12 @@ p.blockquote {
background-color: #fafafa;
}
blockquote {
padding: .5em .5em .5em 2em;
border-left: 20px solid #eee;
background-color: #fafafa;
}
/* -- Flattr button -- */
a.flattr {

View File

@ -52,6 +52,15 @@
</xs:complexType>
</xs:element>
<xs:element name="blockquote">
<xs:complexType>
<xs:sequence>
<xs:group ref="Block.class" minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="resource">
<xs:complexType>
<xs:sequence>
@ -88,6 +97,7 @@
<xs:element ref="dl"/>
<xs:element ref="ul"/>
<xs:element ref="ol"/>
<xs:element ref="blockquote"/>
<xs:element ref="news-list"/>
<xs:element ref="form" xmlns="http://www.w3.org/1999/xhtml"/>
<xs:element ref="iframe" xmlns="http://www.w3.org/1999/xhtml"/>

View File

@ -53,6 +53,10 @@
<li><xsl:apply-templates/></li>
</xsl:template>
<xsl:template match="blockquote">
<blockquote><xsl:apply-templates/></blockquote>
</xsl:template>
<!-- Bilder in News-Einträgen haben Pfad immer relativ zu /images/news/ -->
<xsl:template match="image">
<xsl:variable name="path">