diff options
author | Shaun McCance <shaunm@gnome.org> | 2012-02-28 13:02:31 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2012-02-28 13:02:31 -0500 |
commit | 3301efb80d16680859e2b80a538d274ab3d9be64 (patch) | |
tree | 4187bc86d297ae5d6a64334707003aadd2e0e70b | |
parent | 0e5f60eccd0c364bf1884c56a21ab311e77125e7 (diff) | |
download | yelp-xsl-3301efb80d16680859e2b80a538d274ab3d9be64.tar.gz |
mal2html-media: TTML br doesn't take timing attributes
-rw-r--r-- | 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 9bf4669c..766cf19b 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"> |