-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
OpenProject status formatting broken #38
Comments
It looks like the HTML isn't rendered correctly. Maybe there is some kind of string conversion or some escaping done? when looking at the HTML content it is actually content in that box that renders as HTML code instead of the HTML code that should be rendered. Maybe |
Escaping and unescaping didn't work. Maybe it's the renderer in Kiwi itself, that is messing with the HTML content provided by the implementation. |
Closes #38. Note1: OpenProject supports markdown by default and the raw text will include markdown formatting characters. This looks slightly less aggravating than displaying the HTML code. Note2: Input from the outside world is always considered unsafe and RPC results are always HTML escaped due to security considerations. This will always look not-right even if we render back to plain text!
Closes #38. Note1: OpenProject supports markdown by default and the raw text will include markdown formatting characters. This looks slightly less aggravating than displaying the HTML code. Note2: Input from the outside world is always considered unsafe and RPC results are always HTML escaped due to security considerations. This will always look not-right even if we render back to plain text!
The detailed view of the OpenProject bug seems to be broken. I think it is managed in this part of the code: https://github.com/kiwitcms/trackers-integration/blob/c64ab3cee5d1a67744d2b93c4b4e14fe6a12601c/trackers_integration/issuetracker/openproject.py#L194C1-L204C10
The UI is showing this:
![Details_OpenProject_Bug](https://private-user-images.githubusercontent.com/2744377/251754024-d7593700-a8e8-4923-9110-eaabf0811f2a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU4NDIxODYsIm5iZiI6MTcyNTg0MTg4NiwicGF0aCI6Ii8yNzQ0Mzc3LzI1MTc1NDAyNC1kNzU5MzcwMC1hOGU4LTQ5MjMtOTExMC1lYWFiZjA4MTFmMmEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDlUMDAzMTI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGY1ZTU3MDQ0NmM3YzhjYzQxODcyNmZhODA5MmNkYjY0MDZhZjllMzAwMWVmN2U4YjIyYTY2ZmM2NmI3NzIzNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.ECXM_s3uUz63Ozhub6_aVtHdnGSIV0BdeMCoZQK_p80)
The text was updated successfully, but these errors were encountered: