diff --git a/lib/asciidoctor/chat-block-processor/extension.rb b/lib/asciidoctor/chat-block-processor/extension.rb index 52ec823..cfa3f4f 100644 --- a/lib/asciidoctor/chat-block-processor/extension.rb +++ b/lib/asciidoctor/chat-block-processor/extension.rb @@ -18,7 +18,7 @@ class ChatBlock < Asciidoctor::Extensions::BlockProcessor attrs['name'] ||= attrs['avatar'] block << (create_html_fragment block, %( -
+
)) @@ -35,6 +35,7 @@ class ChatBlock < Asciidoctor::Extensions::BlockProcessor block << (create_html_fragment block, %(
+ #{attrs['name']} )) parse_content block, reader