Skip to content

Bug when search users url is empty #279

@daetten

Description

@daetten

This line:

if MARTOR_SEARCH_USERS_URL:

Should check for MARTOR_MARKDOWN_BASE_EMOJI_URL instead.

So, the current code:

    if MARTOR_SEARCH_USERS_URL:
        attributes_to_pass["data-base-emoji-url"] = MARTOR_MARKDOWN_BASE_EMOJI_URL

Should be:

    if MARTOR_MARKDOWN_BASE_EMOJI_URL:
        attributes_to_pass["data-base-emoji-url"] = MARTOR_MARKDOWN_BASE_EMOJI_URL

Now you have to set a non empty MARTOR_SEARCH_USERS_URL to make this work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions