Closed marwin1991 closed 2 years ago
cc @jeremylong any suggestions here?
Why is escaping - a problem? This should be for the UI where we are just displaying data.
Can you give me a code snippet that triggered the error? I bet we can work around it.
I would be very curious about a valid use case where this would be a problem. Can an example be provided?
From what I remember whe you have a date like 2022-03-25
it is ascaped to 2022\-03\-25
What I'm asking in code - why is this a problem?
I do not see this as an issue per Jeremys POC. Please re-open if you think otherwise!
I refer to this part of code:
The problem is with "-" becasue "-" is also used in date format f.e. 2000-01-01
I am not sure but maybe "--" should be escaped to "\--" ?