Class: FriendlyFormat::SetStrict
- Inherits:
-
Set
- Object
- Set
- FriendlyFormat::SetStrict
- Defined in:
- lib/friendly_format/set_strict.rb
Overview
only allow a few tags that won’t affect too many layouts. use this in forum or somewhere many people have permissions to post or edit articles.
Instance Method Summary collapse
-
#initialize ⇒ SetStrict
constructor
A new instance of SetStrict.
Constructor Details
#initialize ⇒ SetStrict
Returns a new instance of SetStrict.
7 8 9 10 |
# File 'lib/friendly_format/set_strict.rb', line 7 def initialize super(%w[ a b code del em font i img li ol strong u ul ]) end |