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: 164,075 of 198,575
Downloads: 3,488

Daily

Ranking: 27,222 of 198,547
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
61,479,127,725activesupport
141,344,822,358minitest
171,300,507,962nokogiri
46816,828,265railties
48807,093,544actionview
112471,911,761actiontext
376144,578,667liquid

Owners

#GravatarHandle
1iconanquinn