phlex.fun icon indicating copy to clipboard operation
phlex.fun copied to clipboard

Document phlex-rails register_output_helper :mark_safe option

Open z1lk opened this issue 5 months ago • 1 comments

z1lk avatar Jul 17 '25 18:07 z1lk

The guys working on Pagy point out that Pagy is a Ruby gem not Rails so it doesn't mark it HTML safe using Rails constructs. It makes this option particularly useful unless someone feel like making a small Pagy-rails gem that correctly wraps the safe Rails bits.

Thanks. LGTM :rocket:

PhilT avatar Jul 26 '25 13:07 PhilT