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

[BUG] < and > are not displayed when used in description #1643

Open
MaDill opened this issue Nov 27, 2024 · 5 comments
Open

[BUG] < and > are not displayed when used in description #1643

MaDill opened this issue Nov 27, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@MaDill
Copy link

MaDill commented Nov 27, 2024

Describe the bug
when using ">" or "<" in a task, it is not shown when the task is displayed

To Reproduce
Create a task and write in the task description 5>4 and save it. View it in the collection list.

Screenshots
Create the task:
jtx_Board_Screenshot_20241127-185250

View the task:
jtx_Board_Screenshot_20241127-185239

Device and version

  • Device: Sony Xperia 10, Lenovo Tab 8
  • Android version: Android 13
  • jtx Board version: 2.09.03
  • Downloaded from: Google Play
@MaDill MaDill added the bug Something isn't working label Nov 27, 2024
@itsbrody
Copy link

itsbrody commented Nov 29, 2024

I comment here, because my oberservation seems the same root cause. I have added a mathematical calculation inside the description and these have the same problems displaying

typed: 180 * x / ( 2 * 365 ) without spaces
after save its displayed as 180x/(2365), also using the (code?) markdown (i.e. <> from edit toolbar does not help --> same display output, besides that it is underlyed in light red.

@rogercreagh
Copy link

rogercreagh commented Nov 30, 2024

I vaguely recall that this was raised as an issue in the very early days (but I can't find it here - it may have been on gitlab)
I thought it had been fixed, but it seems to have come back.

Full code blocks wrapped with three backticks are also displayed completely blank, inline code blocks (wrapped with single backticks) get displayed with a pink background and with dodgy characters suppressed.

If you escape the individual chars by preceding with a backslash \*\<\> (that was wrapped with a single backtick), here is how github markdown displays it when not in an inline code block *<> . The the backslashes should be suppressed on rendering like that.

jtxB displays \*\<\> which is not good

Its either the markdown editor or the markdown renderer that is messing things up.

The really simple quick fix is to disable markdown for the entry (on the three dots menu to right while viewing or editing) - but if you use markdown formatting elsewhere that is no good.

There will be no solution that works for both markdown and plain text I fear - you need to stick to one or the other, and the markdown engine has a bug in failing to display both chars in code blocks and escaped chars correctly.

@itsbrody
Copy link

itsbrody commented Nov 30, 2024 via email

@MaDill
Copy link
Author

MaDill commented Dec 1, 2024

I tried the lines in these online markdown editor https://stackedit.io/ and https://dillinger.io/ and both use the text without issue
1
2

@patrickunterwegs
Copy link
Member

Hi everyone! Thank you for your comments. As pointed out already, it's not an issue within jtx Board itself, but an issue of the Markdown interpreter.
So the first question here I address to @ArnyminerZ - thank you your library first of all. I have seen you haven't provided a new version/updates in quite some time. Do you plan to continue working on your library or should I rather look out for alternatives?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants