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

Product list page doesn't interpret HTML in the description. #446

Closed
rachel-langford opened this issue Jan 29, 2020 · 8 comments · Fixed by #448
Closed

Product list page doesn't interpret HTML in the description. #446

rachel-langford opened this issue Jan 29, 2020 · 8 comments · Fixed by #448
Assignees
Labels
(t) Bug Bug reports (actual behavior is different than the expected behavior).

Comments

@rachel-langford
Copy link

rachel-langford commented Jan 29, 2020

Bug description

In the list of products widget, if there is html markup in the description, the mark up is rendered, not interpereted. Eg the description includes the html tags for ul and il etc. rather than getting bullet points.

(In the api list widget, html in the description is interpereted as you would expect).

Reproduction steps

  1. Go to Products
  2. Look at the descriptions

Expected behavior

Html tags do not appear in the text, instead they are interpreted and the text is formatted as per the Html tags.

Is your portal managed or self-hosted?

Managed

Release tag or commit SHA (if using self-hosted version)

API Management service name

emi

Environment

Browsing on Chrome from Windows 10.

Two images attached. One for APIs (shows Html interpretted) and one of Products (Html tags visible). The same descriptions in the old portal render html correctly for both APIs and Products.

image
image

@azaslonov
Copy link
Member

Hi Rachel, thanks for reporting the issue. We'll fix it shortly.

@azaslonov azaslonov added (t) Bug Bug reports (actual behavior is different than the expected behavior). and removed to-triage labels Jan 29, 2020
@azaslonov azaslonov self-assigned this Jan 29, 2020
@azaslonov
Copy link
Member

Done. The fix will land to the managed version sometime next week.

@rachel-langford
Copy link
Author

8 months on and this bug has not yet been fixed. HTML on the products page is still coming through as raw html.

Am I able to please have an update on this issue please? We have been holding off on switchiing to the new portal because of this issue, and now I see legacy portal access has been removed from the Azure portal.

image

@azaslonov
Copy link
Member

Hi @rachel-langford, have you republished the portal since then?

@rachel-langford
Copy link
Author

Thanks @azaslonov - I have now republished, and that has changed the rendering to markdown on that field. As content automatically updates without a republish, it wasn't clear that a publish was necessary for field property changes.

However now I notice that the changelog field for the APIs also needs to be set to markdown

image

@azaslonov
Copy link
Member

I see, we'll fix this in next release then. Thanks.

@azaslonov
Copy link
Member

azaslonov commented Aug 26, 2020

Just made the change (see #850)

@rachel-langford
Copy link
Author

Wonderful thank you @azaslonov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(t) Bug Bug reports (actual behavior is different than the expected behavior).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants