Skip to content

Safari does not add the '/' when linking to Types  #40

Closed
@agcolom

Description

@agcolom

I am wondering whether we should add a '/' on lines 724 and 733 after http://api.jquery.com/Types so that

<a href="http://api.jquery.com/Types#{$typename}"&gt;&lt;xsl:value-of select="$typename" /></a>

becomes

<a href="http://api.jquery.com/Types/#{$typename}"&gt;&lt;xsl:value-of select="$typename" /></a>

and

<a href="http://api.jquery.com/Types#{@type}">
<xsl:value-of select="@type"/>

becomes

<a href="http://api.jquery.com/Types/#{@type}">
<xsl:value-of select="@type"/>

as on Safari the link does not go to the correct location. For example, take http://api.jquery.com/load/ and click on either the linked types presented there. Although Firefox and Chrome will interpret http://api.jquery.com/Types#String as http://api.jquery.com/Types/#String Safari will redirect to http://api.jquery.com/Types and lose the anchor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions