Skip to content

Unclosed string at position #145

@th3-sh0w3r

Description

@th3-sh0w3r

I get "Unclosed string at position" with this valid JS code. Pls fix

$(element).append(
    '\
    <nobr>\
        <a data-title="' +
        window.getTranslation("asc_order") +
        '" href="' +
        window.location.href.split("?")[0] +
        updateQueryString({
            s: $(element).data("sort"),
            d: "ASC"
        }) +
        '" class="sort-up"><span style="color: var(--icons)" class="font-awesome-solid-ttf">&#61793;</span></a>\
        <a data-title="' +
        window.getTranslation("desc_order") +
        '" href="' +
        window.location.href.split("?")[0] +
        updateQueryString({
            s: $(element).data("sort"),
            d: "DESC"
        }) +
        '" class="sort-down"><span style="color: var(--icons)" class="font-awesome-solid-ttf">&#61792;</span></a>\
    </nobr>\
'
);

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