Closed guidomon closed 2 years ago
@guidomon can you add a comment that provides a sample that shows the problem please.
If you build the Showcase and go to "Widgets -> Dialog -> Dialog with Buttons" the Buttons won't work. That's because the ' in the Code for the "buttons" Property (see the Example-Code in the aforementioned Showcase-Example) gets escaped. Changing the "?string" to "?no_esc" stops this Behaviour. This would have to be applied to all other Points where such Code is assigned.
Since Commit c25b158 the buttons-Options are Auto-Escaped, so the ' turns to "'". This Commit disables the Auto-Escape (see https://freemarker.apache.org/docs/dgui_misc_autoescaping.html#dgui_misc_autoescaping_disableautoesc) for the Dialog. You can see the Effect in the Dialog-Part in the Showcase.