Sanitization#id_prefix can be modified
This commit is contained in:
@@ -83,8 +83,9 @@ module Gollum
|
|||||||
# attributes. Default: TRANSFORMERS
|
# attributes. Default: TRANSFORMERS
|
||||||
attr_reader :transformers
|
attr_reader :transformers
|
||||||
|
|
||||||
# Gets a String prefix which is added to ID attributes. Default: 'wiki-'
|
# Gets or sets a String prefix which is added to ID attributes.
|
||||||
attr_reader :id_prefix
|
# Default: 'wiki-'
|
||||||
|
attr_accessor :id_prefix
|
||||||
|
|
||||||
# Gets a Hash describing HTML attributes that Sanitize should add.
|
# Gets a Hash describing HTML attributes that Sanitize should add.
|
||||||
# Default: {}
|
# Default: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user