This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 000019d1442c913fb209c6287171e3c05e4b1189
tree 1b7b4c86d1b199a0219c6e842fccdd9824febed5
parent d30eca6980e09e7a9a803804c66bb5bf5c29a033
tree 1b7b4c86d1b199a0219c6e842fccdd9824febed5
parent d30eca6980e09e7a9a803804c66bb5bf5c29a033
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
.loadpath | ||
| |
.project | ||
| |
CHANGELOG | ||
| |
MIT-LICENSE | ||
| |
README | ||
| |
Rakefile | ||
| |
easy_format.gemspec | ||
| |
init.rb | ||
| |
lib/ | ||
| |
test/ |
README
Hosted at GitHub since May 1, 2008 http://github.com/ryanlowe/easy_format Was hosted at RubyForge http://rubyforge.org/projects/simple-format/ = easy_format easy_format is a Ruby on Rails plugin that formats and escapes database text for HTML views. The result looks a lot like text in Gmail: line breaks are converted and HTTP links are linked up. It will not support tags like BBCode; it just formats plain text. == Installation gem install ryanlowe-easy_format --source http://gems.github.com/ == Usage <%= EasyFormat.format(@post.body) %> Note: HTML brackets are escaped by format() so you do not need to use h() as well.








