bootstrap-flask icon indicating copy to clipboard operation
bootstrap-flask copied to clipboard

Remove or rename the `badge` and `use_li` parameters in the `render_nav_item` macro

Open greyli opened this issue 2 years ago • 0 comments

Remove the badge and use_li parameters or rename them to _badge/_use_li, so they won't shadow user's keyword arguments.

  • Add a deprecation warning in 2.1.0
  • Remove or rename them in 2.2.0

greyli avatar Feb 27 '22 10:02 greyli