Improved quotes
This commit is contained in:
@@ -4,6 +4,16 @@ class TopicsController < ApplicationController
|
||||
|
||||
def show
|
||||
@topic.hit! if @topic
|
||||
|
||||
@my_blockquote = {
|
||||
'Quote' => [
|
||||
/\[quote(:.*)?=(.*?)\](.*?)\[\/quote\1?\]/mi,
|
||||
'<blockquote><cite>\2</cite><span class="a">“</span>\3<span class="b">”</span></blockquote>',
|
||||
'Quote with citation',
|
||||
'[quote=mike]please quote me[/quote]',
|
||||
:quote
|
||||
],
|
||||
}
|
||||
end
|
||||
|
||||
def create
|
||||
|
||||
Reference in New Issue
Block a user