Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML tags displayed when changing base URL #964

Closed
fj-sanchez opened this issue Jun 8, 2019 · 0 comments
Closed

HTML tags displayed when changing base URL #964

fj-sanchez opened this issue Jun 8, 2019 · 0 comments

Comments

@fj-sanchez
Copy link

Description of problem

When login for the first time and going to settings to change the base URL, a pop-up message is displayed at the top. In this message some HTML tags are displayed instead of being interpreted.

Version or commit hash (if applicable)

latest docker (v6.9)

Steps to Reproduce

  1. Run latest docker images
  2. Run the script to initialise the database
  3. Run the command to create a superuser
  4. Login with the superuser account
  5. Click on change base URL in the pop-up message

Actual results

A pop-up message at the top can be read with this text:

Base URL is not configured! See <a href="https://kiwitcms.readthedocs.io/en/latest/admin.html#configure-kiwi-s-base-url">documentation</a> and <a href="/admin/sites/site/1/change/">change it</a>

image

Expected results

The same message but with an actual link instead of the HTML tags.

Additional info (Python traceback, logs, etc.)

atodorov added a commit to MrSenko/django-grappelli that referenced this issue May 1, 2020
will allow using messages which contain HTML tags like links.

Fixes kiwitcms/Kiwi#964
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant