Closed siesdart closed 1 month ago
The following packages have been updated: jaspr : 0.13.3 -> 0.13.4 jaspr_builder : 0.13.3 -> 0.13.4 jaspr_cli : 0.13.3 -> 0.13.4 jaspr_tailwind : 0.2.0 -> 0.2.1 jaspr_test : 0.13.3 -> 0.13.4
I indeed missed the unescaping. However this can be a simple string replace operation since the only things that are escaped are
&
to &
<
to <
>
to >
So something like str.replaceAll('<', '<').replaceAll('>', '>').replaceAll('&', '&)
or some more optimized version of that.
I modified the code as you said. Does it look better?
Description
In Jaspr, data is escaped and sent to the client while hydrating. However, there is no unescape process in the client now, so data which contain escapable characters like '&' is different from the server's original on the client. I fixed this by adding unescape progress in the client.
Type of Change
Ready Checklist
///
).