Categories: None [Edit]

lexxy-variables

https://rubygems.org/gems/lexxy-variables
https://github.com/anquinn/lexxy-variables
Insert and safely resolve variables in Lexxy rich text. The gem gives you an editor button (and a `{{` prompt) for inserting variables, each stored as an Action Text attachment chip rather than literal markup. `with_variables` resolves the chips and returns plain Action Text content. Register new chip types with `register_attachment`. A :text chip resolves to an escaped string, an :html chip splices rich content in before sanitization. Liquid is optional. The default renderer is plain, injection-safe string substitution and pulls in no template engine.

Total

Ranking: 171,952 of 196,106
Downloads: 2,773

Daily

Ranking: 23,017 of 196,079
Downloads: 5

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,411,402,789activesupport
141,280,319,739minitest
151,248,859,690nokogiri
46776,488,762railties
49765,523,628actionview
114435,702,392actiontext
379136,918,625liquid

Owners

#GravatarHandle
1iconanquinn