Similar to the issue in this thread,
I have a title that has quotes in it - so when I need to conditional around it, I get an EE error.
The title is
lein: “Pictures at an Election or How to get Votes in Japan”. Ein Dokumentarfilm von Axel Klein zu Wahlkampftechniken in Japan.
The code which triggers the problem:
<input type="hidden" name="event_name" value='{if event_title_{lc}}{event_title_{lc}}{if:else}{event_title_de}{/if}' />If I put single quotes around the conditional variable:
<input type="hidden" name="event_name" value='{if 'event_title_{lc}'}{event_title_{lc}}{if:else}{event_title_de}{/if}' />then we’re okay BUT this assumes the quotes in the title are double quotes. Is there a universal solution allowing for both single and double quotes in an entry field that may need to be in a conditional?