ParamQuery grid support forum
General Category => Bug Report => Topic started by: ami dev on January 20, 2020, 06:52:37 am
-
Hi.
If a character string of a specific pattern using tags is set as data, the grid will be broken.
Pattern: "<<x"
* x is any alphabet
Specifically, it occurs only when the alphabet continues after "less than" is repeated twice as shown below.
NG:
<<x
OK:
<
<<
<<x>
<x>>
x>>
>>
>
<<=
<<あ
Is there any workaround for this?
Thank you.
-
Ami
Thanks for reporting issue. Please add below code to fix it.
pq.escapeHtml = function( val){
return val.replace(/&/g, "&").replace(/<([a-z,A-Z]+)/g, "<$1")
}
-
By applying the code presented, it was displayed correctly.
Many thanks.
By the way, will this fix be included in future releases?
-
yes it would be included in future releases.
-
I'm relieved.
Thank you.
-
This is fixed in v7.1.0
-
We confirmed that it was fixed.
Many thanks.