[yelp-xsl] mal2html-media: TTML br doesn't take timing attributes
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] mal2html-media: TTML br doesn't take timing attributes
- Date: Tue, 28 Feb 2012 18:02:50 +0000 (UTC)
commit 3301efb80d16680859e2b80a538d274ab3d9be64
Author: Shaun McCance <shaunm gnome org>
Date: Tue Feb 28 13:02:31 2012 -0500
mal2html-media: TTML br doesn't take timing attributes
xslt/mallard/html/mal2html-media.xsl | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)
---
diff --git a/xslt/mallard/html/mal2html-media.xsl b/xslt/mallard/html/mal2html-media.xsl
index 9bf4669..766cf19 100644
--- a/xslt/mallard/html/mal2html-media.xsl
+++ b/xslt/mallard/html/mal2html-media.xsl
@@ -219,20 +219,7 @@ FIXME
</xsl:template>
<xsl:template mode="mal2html.inline.mode" match="tt:br">
- <xsl:param name="range"/>
- <xsl:variable name="beginend">
- <xsl:call-template name="mal2html.ttml.time.range">
- <xsl:with-param name="range" select="$range"/>
- </xsl:call-template>
- </xsl:variable>
- <br class="media-ttml-node media-ttml-br">
- <xsl:attribute name="data-ttml-begin">
- <xsl:value-of select="substring-before($beginend, ',')"/>
- </xsl:attribute>
- <xsl:attribute name="data-ttml-end">
- <xsl:value-of select="substring-after($beginend, ',')"/>
- </xsl:attribute>
- </br>
+ <br class="media-ttml-br"/>
</xsl:template>
<xsl:template name="mal2html.ttml.time.range">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]