Fixed translation of event URLs to strip single quote. This, in turn, fixed generation of events/index.html.

This commit is contained in:
Marc Burns 2011-01-28 01:13:46 -05:00
parent 3b3616d3c0
commit 98bea2117c
1 changed files with 2 additions and 1 deletions

View File

@ -71,10 +71,11 @@
</xsl:template>
<xsl:template match="eventitem">
<xsl:variable name="event_translate_fix"> '</xsl:variable>
<xsl:document method="xml" encoding="ISO-8859-1"
doctype-public="-//W3C//DTD XHTML 1.1//EN"
doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
href="{translate(concat($g_outdir, @room, '-', @date, '-', @time, '.html'), ' ', '_')}">
href="{translate(concat($g_outdir, @room, '-', @date, '-', @time, '.html'), $event_translate_fix, '_')}">
<html>
<head>
<title><xsl:value-of select="@title" /></title>