Skip to content
Browse files

Sanitization#id_prefix can be modified

  • Loading branch information...
1 parent c7d8026 commit 08a58b75207ac52a9e050722cf55d34e79613515 @technoweenie technoweenie committed Aug 4, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/gollum/sanitization.rb
View
5 lib/gollum/sanitization.rb
@@ -83,8 +83,9 @@ class Sanitization
# attributes. Default: TRANSFORMERS
attr_reader :transformers
- # Gets a String prefix which is added to ID attributes. Default: 'wiki-'
- attr_reader :id_prefix
+ # Gets or sets a String prefix which is added to ID attributes.
+ # Default: 'wiki-'
+ attr_accessor :id_prefix
# Gets a Hash describing HTML attributes that Sanitize should add.
# Default: {}

0 comments on commit 08a58b7

Please sign in to comment.
Something went wrong with that request. Please try again.