Commit afed9767 authored by Davis King's avatar Davis King

merged

parents 409f70eb 459d27df
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<p> <p>
The library is also covered by the very liberal Boost Software License The library is also covered by the very liberal Boost Software License
so feel free to use it any way you like. However, if you use dlib in so feel free to use it any way you like. However, if you use dlib in
your research then please cite <a href="faq.html#How can I cite dlib?">its Journal of Machine Learning Research paper</a> when your research then please cite <a href="faq.html#HowcanIcitedlib">its Journal of Machine Learning Research paper</a> when
publishing. publishing.
</p> </p>
<p> <p>
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
<xsl:variable name="lcletters">abcdefghijklmnopqrstuvwxyz </xsl:variable> <xsl:variable name="lcletters">abcdefghijklmnopqrstuvwxyz </xsl:variable>
<xsl:variable name="ucletters">ABCDEFGHIJKLMNOPQRSTUVWXYZ </xsl:variable> <xsl:variable name="ucletters">ABCDEFGHIJKLMNOPQRSTUVWXYZ </xsl:variable>
<xsl:variable name="badletters">?()&lt;&gt; /\&amp;~!@#$%^*_+=-[]{}</xsl:variable>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
...@@ -352,7 +353,7 @@ function BigToggle(node) ...@@ -352,7 +353,7 @@ function BigToggle(node)
<ul> <ul>
<xsl:for-each select="question"> <xsl:for-each select="question">
<xsl:sort select="translate(@text,$lcletters, $ucletters)"/> <xsl:sort select="translate(@text,$lcletters, $ucletters)"/>
<li><a href="#{@text}"><xsl:value-of select="@text"/></a></li> <li><a href="#{translate(@text,$badletters,'')}"><xsl:value-of select="@text"/></a></li>
</xsl:for-each> </xsl:for-each>
</ul> </ul>
</xsl:for-each> </xsl:for-each>
...@@ -527,7 +528,8 @@ function BigToggle(node) ...@@ -527,7 +528,8 @@ function BigToggle(node)
<xsl:for-each select="question"> <xsl:for-each select="question">
<xsl:sort select="translate(@text,$lcletters, $ucletters)"/> <xsl:sort select="translate(@text,$lcletters, $ucletters)"/>
<a name = "{@text}"> <a name = "{@text}"/>
<a name = "{translate(@text,$badletters,'')}">
<div class="question"> <div class="question">
<a href="#top"><font size='2'><center>[top]</center></font></a> <a href="#top"><font size='2'><center>[top]</center></font></a>
<h2><xsl:value-of select="@text"/></h2> <h2><xsl:value-of select="@text"/></h2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment