diff --git a/lib/tdiary/style/gfm.rb b/lib/tdiary/style/gfm.rb index 023af2a..b211a26 100644 --- a/lib/tdiary/style/gfm.rb +++ b/lib/tdiary/style/gfm.rb @@ -65,7 +65,7 @@ def to_html(string) # 2. Apply markdown conversion r = CommonMarker.render_html(r, [:DEFAULT, :UNSAFE], [:autolink, :table]) - # 3. Stash
 and  tags
+				# 3. Stash 
, , 
+			EOF
+			@diary.append(source)
+
+			@html = <<-'EOF'
+
+<%=section_enter_proc( Time.at( 1041346800 ) )%> +

<%= subtitle_proc( Time.at( 1041346800 ), "subTitle" ) %>

+

This is an embedding of a post of a Mathtodon server.

+ +<%=section_leave_proc( Time.at( 1041346800 ) )%> +
+ EOF + end + it { expect(@diary.to_html).to eq @html } + end + end # Local Variables: