Ticket #862 (new annoyingness)

Opened 5 years ago

Greenstone doesn't like empty script tags

Reported by: jlwhisler Owned by: nobody
Priority: very low Milestone: 3.09 Release
Component: Greenstone3 Interface Severity: trivial
Keywords: Cc:


When creating a new interface, I noticed that the XSL doesn't like empty script tags (<script type="text/javascript" src="interfaces/{$interface_name}/js/jquery.themeswitcher.min.js"/>). Instead, you have to type the following to get it to work:

<script type="text/javascript" src="interfaces/{$interface_name}/js/jquery.themeswitcher.min.js"><xsl:text> </xsl:text></script>

is there a way to fix this?

Note: See TracTickets for help on using tickets.