Fixed translation of event URLs to strip single quote. This, in turn, fixed generation of events/index.html.
This commit is contained in:
parent
3b3616d3c0
commit
98bea2117c
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue