mzur / kirby-form

A form helper for Kirby CMS based websites and apps, using the Post/Redirect/Get pattern.
MIT License
8 stars 6 forks source link

Feature: Add default escape to data() #6

Closed ceesvanegmond closed 3 years ago

ceesvanegmond commented 3 years ago

@mzur What about this?

ceesvanegmond commented 3 years ago

@mzur Sorry man. Holiday and stuff. Will try finishing this PR today

ceesvanegmond commented 3 years ago

@mzur Just pushed the tests that pass. Note that in the old() method I removed the encodeField because it's already encoded before the flasbag.

ceesvanegmond commented 3 years ago

@mzur Saw my latest commit?

mzur commented 3 years ago

Yes, will review when I have time, thanks!

mzur commented 3 years ago

Looks good. Thanks.