FormFu / HTML-FormFu

HTML Form Creation, Rendering and Validation Framework. Just define the form, and let FormFu do the all heavy lifting.
http://formfu.rocks
34 stars 24 forks source link

Spelling error in FormFu.pm #68

Closed yewtc closed 3 months ago

yewtc commented 6 months ago

I was assigned this repo by the Pull Request Club. I recently came across tpyos and tried it out. It pulls up a bunch of spelling errors that are all either in the documentation or comments - except for one. in FormuFu.pm

   if ( $parent && exists $parent->default_args->{output_processor}{$type} ) {
       %$opt
          = ( %{ $parent->default_args->{output_processer}{$type} }, %$opt );
   }

I tried quite hard to create a test for this, but failed. I think the time this would be an issue is if you used the output process StripWhitespace with collapse_tags set to be different at two levels. I doubt that anyone has noticed the fact that it doesn't work.