Non-Latin WikiWords
Fix bug in WikiWord processing reproted by Alexander Hambug. Also fix Cyrillic Capital/Lowercase regexps.
This commit is contained in:
parent
0a87548324
commit
f6e9d17f9b
2 changed files with 6 additions and 5 deletions
|
@ -181,7 +181,7 @@ class WikiContent < ActiveSupport::SafeBuffer
|
|||
@options[:engine].apply_to(copy)
|
||||
|
||||
copy.inside_chunks(@options[:hide_chunks]) do |id|
|
||||
@chunks_by_id[id.to_i].revert
|
||||
@chunks_by_id[id.to_i].revert if @chunks_by_id[id.to_i]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue