juek / CustomSections

Developer plugin for rapid prototyping of custom section types in Typesetter CMS
GNU General Public License v2.0
3 stars 7 forks source link

Bunch control does not accept label with \' #67

Open mahotilo opened 4 years ago

mahotilo commented 4 years ago

If I type in editor.php sth like this

'control'=>array(
    'label' => 'I don\'t accept this',
    'control_type' => 'bunch_control',
    ...

I will get this

image

EDIT Non-bunch controls don't have this problem. Nevertheless, in some cases, I have found the bunch control very useful.

juek commented 4 years ago

Must be some double escaping somewhere

mahotilo commented 4 years ago

Can't find :( Maybe lucky later.

juek commented 4 years ago

You could use ’ (Alt + 0146) which is the only typographic correct apostrophe ;)

mahotilo commented 4 years ago

Yep... But... :)