How to escape placeholder partial text? #7410
stephenmeehanuk
started this conversation in
General
Replies: 1 comment 1 reply
-
This is due to how those strings internally get processed within parameters, this should get you up and running (I'll have to look at a way to make that easier without causing backwards compatibility issues): Note the two backticks inside the parameter value: {{ partial:bits/grid
:grid_field="[
['section_intro' => 'We\\'re just a phone call or email away.'],
]"
}} This way when the parameter is evaulated it will see this content:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hopefully a quick one. Is it possible to escape this
'
'?The word
We're
causes this to error.I've tried this variations
Beta Was this translation helpful? Give feedback.
All reactions